Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Commit

Permalink
Fix order of SplitMetaNamespaceKey arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
munnerz committed May 9, 2018
1 parent 7fdbf85 commit b77e3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kubelego/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (kl *KubeLego) WatchReconfigure() {
kl.workQueue.Forget(item)
return
}
name, namespace, err := cache.SplitMetaNamespaceKey(key)
namespace, name, err := cache.SplitMetaNamespaceKey(key)
if err != nil {
kl.Log().Errorf("worker: invalid string in workqueue %q: %v", item, err)
kl.workQueue.Forget(item)
Expand Down

0 comments on commit b77e3f2

Please sign in to comment.