Skip to content

Commit

Permalink
Merge pull request #86 from XiangChen666/master
Browse files Browse the repository at this point in the history
Revert previous change,since we can not get value now
  • Loading branch information
asim authored Mar 22, 2019
2 parents 8eee921 + ee9a820 commit 5053e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/configmap/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func newWatcher(n, ns string, c *kubernetes.Clientset, opts source.Options) (sou
stop: make(chan struct{}),
}

lw := cache.NewListWatchFromClient(w.client.CoreV1().RESTClient(), "ConfigMaps", w.namespace, fields.OneTermEqualSelector("metadata.name", w.name))
lw := cache.NewListWatchFromClient(w.client.CoreV1().RESTClient(), "ConfigMap", w.namespace, fields.OneTermEqualSelector("metadata.name", w.name))
st, ct := cache.NewInformer(
lw,
&v12.ConfigMap{},
Expand Down

0 comments on commit 5053e9b

Please sign in to comment.