Selaa lähdekoodia

fix endpoint error

Signed-off-by: timchenxiaoyu <837829664@qq.com>
timchenxiaoyu 8 vuotta sitten
vanhempi
commit
c679b071f0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      libnetwork/endpoint.go

+ 1 - 1
libnetwork/endpoint.go

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