Skip to content

Commit 6a0b1e9

Browse files
committed
cmd/openshift-install/create: Drop newline from "Route found..." log
Log entries don't need us to set explicit newlines; they're injected by the logger as needed for line-based log receivers.
1 parent a13b346 commit 6a0b1e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/openshift-install/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func waitForConsole(ctx context.Context, config *rest.Config, directory string)
295295
consoleRoutes, err := rc.RouteV1().Routes(consoleNamespace).List(metav1.ListOptions{})
296296
if err == nil && len(consoleRoutes.Items) > 0 {
297297
for _, route := range consoleRoutes.Items {
298-
logrus.Debugf("Route found in openshift-console namespace: %s\n", route.Name)
298+
logrus.Debugf("Route found in openshift-console namespace: %s", route.Name)
299299
if route.Name == consoleRouteName {
300300
url = fmt.Sprintf("https://%s", route.Spec.Host)
301301
}

0 commit comments

Comments
 (0)