diff options
Diffstat (limited to 'src/context.rs')
| -rw-r--r-- | src/context.rs | 6 |
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 | ||
| 21 | impl Context { | 21 | impl 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 | ||
