瀏覽代碼

Merge pull request #38459 from JoeWrightss/patch-2

Fix code typo error
Sebastiaan van Stijn 6 年之前
父節點
當前提交
ebc0750e9f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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