Skip to content

Commit

Permalink
whitelist error
Browse files Browse the repository at this point in the history
  • Loading branch information
n8wb committed Jan 18, 2020
1 parent 8451e7b commit 9c411d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/service/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@ func (ds dockerService) VolumeShare(ctx context.Context, ecli entity.DockerCli,
for range vs.Hosts {
err := <-errChan
if err != nil {
return entity.NewErrorResult(err)
return ds.errorWhitelistHandler(err, "already in use by container")
}
}

Expand Down

0 comments on commit 9c411d6

Please sign in to comment.