Skip to content

Commit

Permalink
fix lingering unversioned client API (#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
kibbles-n-bytes authored and Ville Aikas committed Oct 23, 2017
1 parent 6f49128 commit 630f13f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/controller_binding.go
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func (c *controller) reconcileServiceBinding(binding *v1beta1.ServiceBinding) er
typeSB, binding.Namespace, binding.Name,
)

ns, err := c.kubeClient.Core().Namespaces().Get(instance.Namespace, metav1.GetOptions{})
ns, err := c.kubeClient.CoreV1().Namespaces().Get(instance.Namespace, metav1.GetOptions{})
if err != nil {
s := fmt.Sprintf(`Failed to get namespace %q during binding: %s`, instance.Namespace, err)
glog.Infof(
Expand Down

0 comments on commit 630f13f

Please sign in to comment.