Skip to content

Commit f06b3f2

Browse files
author
Jeff Peeler
committed
chore(logging): logging fixes / small enhancements
1 parent 012dca7 commit f06b3f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/controller/operators/olm/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1576,7 +1576,7 @@ func (a *Operator) ensureLabels(in *v1alpha1.ClusterServiceVersion, labelSets ..
15761576
return in, nil
15771577
}
15781578

1579-
a.logger.WithField("labels", merged).Error("Labels updated!")
1579+
a.logger.WithField("labels", merged).Info("Labels updated!")
15801580

15811581
out := in.DeepCopy()
15821582
out.SetLabels(merged)

test/e2e/subscription_e2e_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ func updateInternalCatalog(t *testing.T, c operatorclient.ClientInterface, crc v
935935
fmt.Println("catalog updated")
936936
return true
937937
}
938-
fmt.Println("waiting for catalog pod to be available")
938+
fmt.Printf("waiting for catalog pod %v to be available (after catalog update)\n", catalog.GetName())
939939
return false
940940
})
941941
require.NoError(t, err)

test/e2e/util_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ func catalogSourceRegistryPodSynced(catalog *v1alpha1.CatalogSource) bool {
314314
fmt.Printf("catalog %s pod with address %s\n", catalog.GetName(), catalog.Status.RegistryServiceStatus.Address())
315315
return registryPodHealthy(catalog.Status.RegistryServiceStatus.Address())
316316
}
317-
fmt.Println("waiting for catalog pod to be available")
317+
fmt.Printf("waiting for catalog pod %v to be available (for sync)\n", catalog.GetName())
318318
return false
319319
}
320320

0 commit comments

Comments
 (0)