Blob Blame Raw
diff -up kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go.remove_deprecated_api kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go
--- kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go.remove_deprecated_api	2019-06-15 02:58:09.000000000 +0200
+++ kubernetes-1.15.0/pkg/cloudprovider/providers/photon/photon.go	2019-07-09 00:02:06.831156280 +0200
@@ -256,13 +256,6 @@ func getPhotonClient(pc *PCCloud) (*phot
 		pc.photonClient = photon.NewClient(pc.cfg.Global.CloudTarget, options, pc.logger)
 	}
 
-	status, err := pc.photonClient.Status.Get()
-	if err != nil {
-		klog.Errorf("Photon Cloud Provider: new client creation failed. Error[%v]", err)
-		return nil, err
-	}
-	klog.V(2).Infof("Photon Cloud Provider: Status of the new photon controller client: %v", status)
-
 	return pc.photonClient, nil
 }