Skip to content

Commit 730d5e2

Browse files
committed
replace with MustGetConfig
Signed-off-by: Pavel Okhlopkov <pavel.okhlopkov@flant.com>
1 parent 0c08529 commit 730d5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/shell-operator/bootstrap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
// Init initialize logging, ensures directories and creates
2323
// a ShellOperator instance with all dependencies.
2424
func Init(logger *log.Logger) (*ShellOperator, error) {
25-
appcfg := app.NewConfig()
25+
appcfg := app.MustGetConfig()
2626
err := appcfg.Parse()
2727
if err != nil {
2828
return nil, fmt.Errorf("shell-operator config parse: %w", err)

0 commit comments

Comments
 (0)