From 87b680e1c0670b69795751f1d4e508faedefe86f Mon Sep 17 00:00:00 2001 From: vanou Date: Wed, 19 Feb 2020 23:53:10 +0900 Subject: [PATCH] Correct explanation of ApendAll method in ResMap interface This commit corrects expalation of ApendAll method in ResMap interface. AppendAll method should fail on CurId collision, not OrgId collision. --- api/resmap/resmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/resmap/resmap.go b/api/resmap/resmap.go index c1bd8910c..380dbe79d 100644 --- a/api/resmap/resmap.go +++ b/api/resmap/resmap.go @@ -114,7 +114,7 @@ type ResMap interface { Append(*resource.Resource) error // AppendAll appends another ResMap to self, - // failing on any OrgId collision. + // failing on any CurId collision. AppendAll(ResMap) error // AbsorbAll appends, replaces or merges the contents