fix warning message

close https://github.com/docker/compose-cli/issues/1536

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-04-14 08:19:22 +02:00
parent 11c36bd9a0
commit 1dc0c4cef9
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 1 additions and 1 deletions

View File

@ -949,7 +949,7 @@ func (s *composeService) ensureNetworkDown(ctx context.Context, networkID string
if err := s.apiClient.NetworkRemove(ctx, networkID); err != nil {
w.Event(progress.ErrorEvent(eventName))
return errors.Wrapf(err, fmt.Sprintf("failed to create network %s", networkID))
return errors.Wrapf(err, fmt.Sprintf("failed to remove network %s", networkID))
}
w.Event(progress.RemovedEvent(eventName))