mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix endpoint error
Signed-off-by: timchenxiaoyu <837829664@qq.com>
This commit is contained in:
parent
1a8c8e9a61
commit
c679b071f0
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ func (ep *endpoint) hasInterface(iName string) bool {
|
|||
|
||||
func (ep *endpoint) Leave(sbox Sandbox, options ...EndpointOption) error {
|
||||
if sbox == nil || sbox.ID() == "" || sbox.Key() == "" {
|
||||
return types.BadRequestErrorf("invalid Sandbox passed to enpoint leave: %v", sbox)
|
||||
return types.BadRequestErrorf("invalid Sandbox passed to endpoint leave: %v", sbox)
|
||||
}
|
||||
|
||||
sb, ok := sbox.(*sandbox)
|
||||
|
|
Loading…
Add table
Reference in a new issue