From 89e3a4af626a3d97c59249ba9c4fa440aedbafba Mon Sep 17 00:00:00 2001 From: JoeWrightss Date: Mon, 31 Dec 2018 16:09:48 +0800 Subject: [PATCH] fix code typo Signed-off-by: zhoulin xie --- container/view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container/view.go b/container/view.go index b631499412..aabb01923d 100644 --- a/container/view.go +++ b/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