mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #28841 from justincormack/sandbox-error
Fix grammar on error message
This commit is contained in:
commit
7dcd7b8ec5
1 changed files with 2 additions and 2 deletions
|
@ -1028,7 +1028,7 @@ func (daemon *Daemon) ActivateContainerServiceBinding(containerName string) erro
|
||||||
}
|
}
|
||||||
sb := daemon.getNetworkSandbox(container)
|
sb := daemon.getNetworkSandbox(container)
|
||||||
if sb == nil {
|
if sb == nil {
|
||||||
return fmt.Errorf("network sandbox not exists for container %s", containerName)
|
return fmt.Errorf("network sandbox does not exist for container %s", containerName)
|
||||||
}
|
}
|
||||||
return sb.EnableService()
|
return sb.EnableService()
|
||||||
}
|
}
|
||||||
|
@ -1041,7 +1041,7 @@ func (daemon *Daemon) DeactivateContainerServiceBinding(containerName string) er
|
||||||
}
|
}
|
||||||
sb := daemon.getNetworkSandbox(container)
|
sb := daemon.getNetworkSandbox(container)
|
||||||
if sb == nil {
|
if sb == nil {
|
||||||
return fmt.Errorf("network sandbox not exists for container %s", containerName)
|
return fmt.Errorf("network sandbox does not exist for container %s", containerName)
|
||||||
}
|
}
|
||||||
return sb.DisableService()
|
return sb.DisableService()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue