fix code typo

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
JoeWrightss 2018-12-31 16:09:48 +08:00 committed by zhoulin xie
parent f76d6a078d
commit 89e3a4af62
1 changed files with 1 additions and 1 deletions

View File

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