Skip to content

Commit 865aa0e

Browse files
committed
fix: nits around error string
Signed-off-by: tanujd11 <[email protected]>
1 parent f84cf2b commit 865aa0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/provider/kubernetes/controller.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ func (r *gatewayAPIReconciler) watchResources(ctx context.Context, mgr manager.M
12831283
handler.EnqueueRequestsFromMapFunc(r.enqueueClass),
12841284
predicate.NewPredicateFuncs(r.validateServiceImportForReconcile)); err != nil {
12851285
// ServiceImport is not available in the cluster, skip the watch and not throw error.
1286-
r.log.Info("Unable to watch not ServiceImport: %s", err.Error())
1286+
r.log.Info("unable to watch ServiceImport: %s", err.Error())
12871287
}
12881288
}
12891289

@@ -1465,11 +1465,11 @@ func (r *gatewayAPIReconciler) processParamsRef(ctx context.Context, gc *gwapiv1
14651465
func (r *gatewayAPIReconciler) serviceImportCRDExists(mgr manager.Manager) bool {
14661466
discoveryClient, err := discovery.NewDiscoveryClientForConfig(mgr.GetConfig())
14671467
if err != nil {
1468-
r.log.Error(err, "Failed to create discovery client")
1468+
r.log.Error(err, "failed to create discovery client")
14691469
}
14701470
apiResourceList, err := discoveryClient.ServerPreferredResources()
14711471
if err != nil {
1472-
r.log.Error(err, "Failed to get API resource list")
1472+
r.log.Error(err, "failed to get API resource list")
14731473
}
14741474
serviceImportFound := false
14751475
for _, list := range apiResourceList {

0 commit comments

Comments
 (0)