mirror of https://github.com/docker/compose.git
Merge pull request #10623 from jfly/jfly/tweak-warning-message
Fix typo in warning about existing volume
This commit is contained in:
commit
6530880361
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue