Skip to content

Commit b232e58

Browse files
authored
Set config file when provided (#4909)
1 parent b3f8839 commit b232e58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/manager/config/init.go

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ func (i *Config) initConfig() error {
158158
// if file does not exist, assume it is a new system
159159
if exists, _ := fsutil.FileExists(configFile); !exists {
160160
i.isNewSystem = true
161+
i.SetConfigFile(configFile)
161162

162163
// ensure we can write to the file
163164
if err := fsutil.Touch(configFile); err != nil {

0 commit comments

Comments
 (0)