Skip to content

Commit f776c96

Browse files
fix: load from catalog when type is all
Currently when the config for catalog is `all` , we use the json file as source for loading the environment.
1 parent 8e46554 commit f776c96

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/wet-pots-accept.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": patch
3+
---
4+
5+
fix(catalog): load from catalog when mode is all

engine/cld/environment/environment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func Load(
4848

4949
var ds fdatastore.DataStore
5050

51-
if cfg.DatastoreType == cfgdomain.DatastoreTypeCatalog {
51+
if cfg.DatastoreType == cfgdomain.DatastoreTypeCatalog || cfg.DatastoreType == cfgdomain.DatastoreTypeAll {
5252
if cfg.Env.Catalog.GRPC != "" {
5353
lggr.Infow("Fetching data from Catalog", "url", cfg.Env.Catalog.GRPC)
5454
catalogStore, catalogErr := cldcatalog.LoadCatalog(ctx, envKey, cfg, domain)

0 commit comments

Comments
 (0)