Skip to content

Commit

Permalink
Merge pull request #10623 from jfly/jfly/tweak-warning-message
Browse files Browse the repository at this point in the history
Fix typo in warning about existing volume
  • Loading branch information
glours committed Jun 1, 2023
2 parents 1bd8a77 + 3d05a1b commit 6530880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compose/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ func (s *composeService) ensureVolume(ctx context.Context, volume types.VolumeCo
logrus.Warnf("volume %q already exists but was not created by Docker Compose. Use `external: true` to use an existing volume", volume.Name)
}
if ok && p != project {
logrus.Warnf("volume %q already exists but was not created for project %q. Use `external: true` to use an existing volume", volume.Name, p)
logrus.Warnf("volume %q already exists but was created for project %q (expected %q). Use `external: true` to use an existing volume", volume.Name, p, project)
}
return nil
}
Expand Down

0 comments on commit 6530880

Please sign in to comment.