File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ Examples:
246246}
247247
248248func runDeploy (cmd * cobra.Command , args []string ) error {
249- log := logger . New ()
249+ log := globalLogger
250250 if ! dryRun {
251251 if err := env .Initialize (log ); err != nil {
252252 return err
Original file line number Diff line number Diff line change 66
77 "github.com/spf13/cobra"
88 "github.com/stackrox/roxie/internal/env"
9- "github.com/stackrox/roxie/internal/logger"
109)
1110
1211func newEnvCmd () * cobra.Command {
@@ -22,7 +21,7 @@ func newEnvCmd() *cobra.Command {
2221}
2322
2423func runEnv (cmd * cobra.Command , args []string ) error {
25- log := logger . New ()
24+ log := globalLogger
2625 if err := env .Initialize (log ); err != nil {
2726 return err
2827 }
Original file line number Diff line number Diff line change 99 "github.com/stackrox/roxie/internal/component"
1010 "github.com/stackrox/roxie/internal/deployer"
1111 "github.com/stackrox/roxie/internal/env"
12- "github.com/stackrox/roxie/internal/logger"
1312 "github.com/stackrox/roxie/internal/manifest"
1413)
1514
@@ -39,7 +38,7 @@ func newTeardownCmd(settings *deployer.Config) *cobra.Command {
3938}
4039
4140func runTeardown (cmd * cobra.Command , args []string ) error {
42- log := logger . New ()
41+ log := globalLogger
4342 if err := env .Initialize (log ); err != nil {
4443 return err
4544 }
You can’t perform that action at this time.
0 commit comments