You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2019/11/28 07:41:08 UTC
[camel-k] 08/13: chore: fix typo
This is an automated email from the ASF dual-hosted git repository.
astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 38f5b5f203217e5c70c2ffc0fab1907186d1cb95
Author: Antonin Stefanutti <an...@stefanutti.fr>
AuthorDate: Tue Nov 26 11:30:16 2019 +0100
chore: fix typo
---
pkg/util/kubernetes/collection.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkg/util/kubernetes/collection.go b/pkg/util/kubernetes/collection.go
index 4c10184..20a2c25 100644
--- a/pkg/util/kubernetes/collection.go
+++ b/pkg/util/kubernetes/collection.go
@@ -35,12 +35,12 @@ type Collection struct {
}
// NewCollection creates a new empty collection
-func NewCollection(objcts ...runtime.Object) *Collection {
+func NewCollection(objects ...runtime.Object) *Collection {
collection := Collection{
- items: make([]runtime.Object, 0, len(objcts)),
+ items: make([]runtime.Object, 0, len(objects)),
}
- collection.items = append(collection.items, objcts...)
+ collection.items = append(collection.items, objects...)
return &collection
}