Skip to content

Commit

Permalink
squash unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
alsuren committed Dec 22, 2020
1 parent 3e03356 commit cd158ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ fn build_docker_image(toml: &Toml, target: &Target, verbose: bool) -> Result<Str
pub fn image(toml: Option<&Toml>, target: &Target, verbose: bool) -> Result<String> {
if let Some(toml) = toml {
match (toml.image(target)?.map(|s| s.to_owned()), toml.context(target)?) {
(Some(image), Some(_context)) => {
(Some(_image), Some(_context)) => {
// https://docs.docker.com/compose/compose-file/#build says:
// If you specify image as well as build, then Compose names the
// built image with the webapp and optional tag specified in image.
Expand Down

0 comments on commit cd158ba

Please sign in to comment.