Blob Blame Raw
diff -up kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go.remove_unused kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go
--- kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go.remove_unused	2019-06-15 02:58:09.000000000 +0200
+++ kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go	2019-07-09 00:24:27.761677685 +0200
@@ -211,7 +211,6 @@ func getVMIDbyIP(pc *PCCloud, IPAddress
 }
 
 func getPhotonClient(pc *PCCloud) (*photon.Client, error) {
-	var err error
 	if len(pc.cfg.Global.CloudTarget) == 0 {
 		return nil, fmt.Errorf("Photon Controller endpoint was not specified")
 	}