Explorar o código

fix code typo

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
JoeWrightss %!s(int64=6) %!d(string=hai) anos
pai
achega
89e3a4af62
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      container/view.go

+ 1 - 1
container/view.go

@@ -473,7 +473,7 @@ type namesByContainerIDIndexer struct{}
 func (e *namesByContainerIDIndexer) FromObject(obj interface{}) (bool, []byte, error) {
 	n, ok := obj.(nameAssociation)
 	if !ok {
-		return false, nil, fmt.Errorf(`%T does not have type "nameAssocation"`, obj)
+		return false, nil, fmt.Errorf(`%T does not have type "nameAssociation"`, obj)
 	}
 
 	// Add the null character as a terminator