forked from DGNum/colmena
job: Remove unneeded mut
This commit is contained in:
parent
f11e3c77ee
commit
85e5303557
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ impl JobMonitor {
|
||||||
message: Option<String>,
|
message: Option<String>,
|
||||||
noop: bool,
|
noop: bool,
|
||||||
) {
|
) {
|
||||||
let mut metadata = self.jobs.get_mut(&job_id).unwrap();
|
let metadata = self.jobs.get_mut(&job_id).unwrap();
|
||||||
let old_state = metadata.state;
|
let old_state = metadata.state;
|
||||||
|
|
||||||
if old_state == new_state {
|
if old_state == new_state {
|
||||||
|
|
Loading…
Reference in a new issue