Skip to content

Commit 7f31f80

Browse files
Preload map with loaded properties
1 parent e06ea66 commit 7f31f80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/propertyresolver/json.go

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ func init() {
4141
log.Errorf("Can not read - %s due to error - %v", filePath, e)
4242
panic("")
4343
}
44+
45+
for k, v := range props {
46+
preload[k] = v
47+
}
4448
}
4549
}
4650
}

0 commit comments

Comments
 (0)