Skip to content

Commit

Permalink
renamed constant to CLIDebugLogFile
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Feb 19, 2024
1 parent 036c6b9 commit 5aa03ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/internal/cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,5 +868,5 @@ type debugFileLogger struct {
func (l debugFileLogger) Debug(msg string, args ...any) {
l.log.Debug(msg, args...)

_ = l.fileHandler.Write(constants.InitDebugLogFile, []byte(msg+"\n"), file.OptAppend)
_ = l.fileHandler.Write(constants.CLIDebugLogFile, []byte(msg+"\n"), file.OptAppend)
}
4 changes: 2 additions & 2 deletions internal/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ const (
DefaultControlPlaneGroupName = "control_plane_default"
// DefaultWorkerGroupName is the name of the default worker node group.
DefaultWorkerGroupName = "worker_default"
// InitDebugLogFile is the name of the debug log file for constellation init/constellation apply.
InitDebugLogFile = "constellation-debug.log"
// CLIDebugLogFile is the name of the debug log file for constellation init/constellation apply.
CLIDebugLogFile = "constellation-debug.log"

//
// Ports.
Expand Down

0 comments on commit 5aa03ac

Please sign in to comment.