lint: fixing fmt issue

This commit is contained in:
Benjamin Chastanier
2021-10-05 10:34:55 +02:00
parent abeadba149
commit b81e2aae39
2 changed files with 5 additions and 5 deletions

View File

@@ -257,7 +257,7 @@ impl ContainerRegistry for DOCR {
"While tyring to get all tags for image: {}, maybe this image not exist !",
&image.name
);
return false;
}
},
@@ -266,7 +266,7 @@ impl ContainerRegistry for DOCR {
"While trying to communicate with DigitalOcean API to retrieve all tags for image {}",
&image.name
);
return false;
}
};
@@ -299,7 +299,7 @@ impl ContainerRegistry for DOCR {
"while retrieving tags for image {} Unable to get output from DigitalOcean API",
&image.name
);
false
}
}

View File

@@ -74,8 +74,8 @@ pub fn checkout_submodules(repo: &Repository) -> Result<(), Error> {
for mut submodule in submodules {
info!("getting submodule {:?} from {:?}", submodule.name(), submodule.url());
if let Err(e) = submodule.update(true, None) {
return Err(e)
if let Err(e) = submodule.update(true, None) {
return Err(e);
}
}
}