Skip to content

Commit c5d40f7

Browse files
authored
fix: update docker id before db pull (#3320)
1 parent 10a2cbb commit c5d40f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/utils/flags/db_url.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func ParseDatabaseConfig(flagSet *pflag.FlagSet, fsys afero.Fs) error {
5050
// Update connection config
5151
switch connType {
5252
case direct:
53-
if err := utils.Config.Load("", utils.NewRootFS(fsys)); err != nil && !errors.Is(err, os.ErrNotExist) {
53+
if err := LoadConfig(fsys); err != nil {
5454
return err
5555
}
5656
if flag := flagSet.Lookup("db-url"); flag != nil {

0 commit comments

Comments
 (0)