Browse code

fix code typo

Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>

JoeWrightss authored on 2018/12/31 17:09:48
Showing 1 changed files
... ...
@@ -473,7 +473,7 @@ type namesByContainerIDIndexer struct{}
473 473
 func (e *namesByContainerIDIndexer) FromObject(obj interface{}) (bool, []byte, error) {
474 474
 	n, ok := obj.(nameAssociation)
475 475
 	if !ok {
476
-		return false, nil, fmt.Errorf(`%T does not have type "nameAssocation"`, obj)
476
+		return false, nil, fmt.Errorf(`%T does not have type "nameAssociation"`, obj)
477 477
 	}
478 478
 
479 479
 	// Add the null character as a terminator