Skip to content

Commit

Permalink
Create client using mechanism of PR 5300 (istio#5563)
Browse files Browse the repository at this point in the history
  • Loading branch information
esnible authored and linsun committed May 11, 2018
1 parent 1046ace commit e5410ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion istioctl/cmd/istioctl/deregister.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var (
ip := args[1]
log.Infof("De-registering for service '%s' ip '%s'",
svcName, ip)
_, client, err := kube.CreateInterface(kubeconfig)
client, err := createInterface(kubeconfig)
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion istioctl/cmd/istioctl/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var (
}
log.Infof("%d labels (%v) and %d annotations (%v)",
len(labels), labels, len(annotations), annotations)
_, client, err := kube.CreateInterface(kubeconfig)
client, err := createInterface(kubeconfig)
if err != nil {
return err
}
Expand Down

0 comments on commit e5410ae

Please sign in to comment.