Skip to content

Commit f5ce0fb

Browse files
committed
Debugging logs
1 parent 12c4ccb commit f5ce0fb

File tree

1 file changed

+1
-3
lines changed
  • pkg/gce-cloud-provider/compute

1 file changed

+1
-3
lines changed

pkg/gce-cloud-provider/compute/gce.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func CreateCloudProvider(ctx context.Context, vendorVersion string, configPath s
210210
defer tenantServiceMutex.Unlock()
211211

212212
if _, ok := cp.tenantServiceMap[tenantMeta.ProjectNumber]; ok {
213-
klog.Infof("tenant GCE client already exists, skipping GCE client instantiation for tenant(%s) with project number(%s)", tenantMeta.TenantName, tenantMeta.ProjectNumber)
213+
klog.Infof("Tenant GCE client already exists, skipping GCE client instantiation for tenant(%s) with project number(%s)", tenantMeta.TenantName, tenantMeta.ProjectNumber)
214214
return
215215
}
216216

@@ -223,8 +223,6 @@ func CreateCloudProvider(ctx context.Context, vendorVersion string, configPath s
223223
if err != nil {
224224
klog.Errorf("error during tenant token generation: %v", err.Error())
225225
}
226-
klog.Infof("Compute endpoint in add func: %s", computeEndpoint)
227-
klog.Infof("Compute environment in add func: %s", computeEnvironment)
228226

229227
svc, err := createCloudService(ctx, vendorVersion, tokenSource, computeEndpoint, computeEnvironment)
230228
if err != nil {

0 commit comments

Comments
 (0)