Merge pull request #1670 from timchenxiaoyu/endpointtypo

fix endpoint error
This commit is contained in:
Alessandro Boch 2017-04-10 13:52:27 -07:00 committed by GitHub
commit d3ecaa4cc7
1 changed files with 1 additions and 1 deletions

View File

@ -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)