浏览代码

fix code typo

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
JoeWrightss 6 年之前
父节点
当前提交
89e3a4af62
共有 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