aboutsummaryrefslogtreecommitdiff
path: root/src/context.rs
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2026-02-11 21:50:47 +0000
committerdiogo464 <[email protected]>2026-02-11 21:50:47 +0000
commitfec5451ab1908038f841dcb04012fac27f5c9444 (patch)
tree7a54252758d757670b87557160667d8d078611cc /src/context.rs
parentcb3beb3819942b1b8c224a905299ca91c6a72b5b (diff)
cargo fmt
Diffstat (limited to 'src/context.rs')
-rw-r--r--src/context.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/context.rs b/src/context.rs
index 4c1b639..1ca4f68 100644
--- a/src/context.rs
+++ b/src/context.rs
@@ -15,7 +15,7 @@ pub struct Context {
15 job_id: Option<u32>, 15 job_id: Option<u32>,
16 infer_job_id: bool, 16 infer_job_id: bool,
17 frontend_hostname: Option<String>, 17 frontend_hostname: Option<String>,
18 cluster_username: Option<String> 18 cluster_username: Option<String>,
19} 19}
20 20
21impl Context { 21impl Context {
@@ -23,14 +23,14 @@ impl Context {
23 job_id: Option<u32>, 23 job_id: Option<u32>,
24 infer_job_id: bool, 24 infer_job_id: bool,
25 frontend_hostname: Option<String>, 25 frontend_hostname: Option<String>,
26 cluster_username: Option<String> 26 cluster_username: Option<String>,
27 ) -> Result<Self> { 27 ) -> Result<Self> {
28 Ok(Self { 28 Ok(Self {
29 node: get_execution_node().await?, 29 node: get_execution_node().await?,
30 job_id, 30 job_id,
31 infer_job_id, 31 infer_job_id,
32 frontend_hostname, 32 frontend_hostname,
33 cluster_username 33 cluster_username,
34 }) 34 })
35 } 35 }
36 36