1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-07 12:47:07 +01:00

3 Commits

Author SHA1 Message Date
ehila
90b9bcc68e fix: update format for logging calls
updated logging calls to use calling function format instead of fmt.Sprintf to fix go vet errors

Signed-off-by: ehila <ehila@redhat.com>
2025-07-29 23:10:04 -04:00
Richard Su
38c05c786b OCPBUGS-18658: Unify agent install-complete with installer
Removed custom agent wait-for install-complete code.

Moved installer WaitForInstallComplete function from
cmd/openshift-install/main to cmd/openshift-install/command so
that the function can be made public.

Modified agent.newWaitForInstallCompleted() to use the common
WaitForInstallComplete function.

The benefit of moving agent over to the common
WaitForInstallComplete function is that the common function has a
step to wait for operators to be in a stable state before calling
the cluster installation complete.
2024-12-09 02:09:09 -05:00
Richard Su
0d6211e4e1 OCPBUGS-5728: Log "agent wait-for" commands to .openshift_install.log
Updated "agent wait-for" commands to also call
SetupFileHook(RootOpts.Dir) so that it logs to the common
.openshift_install.log file.

Moved log.go and rootOpts to a command package so that it can
be shared with agent wait-for.
2023-09-27 18:19:42 -04:00