Explorar el Código

Merge pull request #1670 from timchenxiaoyu/endpointtypo

fix endpoint error
Alessandro Boch hace 8 años
padre
commit
ab0ac83e89
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libnetwork/endpoint.go

+ 1 - 1
libnetwork/endpoint.go

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