소스 검색

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) {
 func (e *namesByContainerIDIndexer) FromObject(obj interface{}) (bool, []byte, error) {
 	n, ok := obj.(nameAssociation)
 	n, ok := obj.(nameAssociation)
 	if !ok {
 	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
 	// Add the null character as a terminator