fixed clippy warning

This commit is contained in:
Thomas Eppers 2022-08-04 14:43:06 +02:00
parent 22429ac74b
commit 8363896052

View File

@ -85,7 +85,7 @@ impl Repo {
if registry.unwrap_or_default().is_empty() {
dockerhub::DockerHub::create_repo(&repo)
} else {
return Err(Error::Converting("This registry is not supported".into()));
Err(Error::Converting("This registry is not supported".into()))
}
}