Skip to content

Commit

Permalink
replace with MustGetConfig
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Okhlopkov <[email protected]>
  • Loading branch information
Pavel Okhlopkov committed Dec 6, 2024
1 parent 0c08529 commit 730d5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/shell-operator/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
// Init initialize logging, ensures directories and creates
// a ShellOperator instance with all dependencies.
func Init(logger *log.Logger) (*ShellOperator, error) {
appcfg := app.NewConfig()
appcfg := app.MustGetConfig()
err := appcfg.Parse()
if err != nil {
return nil, fmt.Errorf("shell-operator config parse: %w", err)
Expand Down

0 comments on commit 730d5e2

Please sign in to comment.