Merge pull request #1670 from timchenxiaoyu/endpointtypo
fix endpoint error
This commit is contained in:
commit
ab0ac83e89
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,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