Skip to content

Commit 595b463

Browse files
authored
fix(migration):include datastore type all in configuration check (#675)
1 parent f040429 commit 595b463

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/smooth-cities-know.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(migration):include configuration check for datastore type all

engine/cld/legacy/cli/commands/migration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ func (Commands) newMigrationDataStoreSyncToCatalog(domain domain.Domain) *cobra.
596596
}
597597

598598
// Verify catalog is configured
599-
if cfg.DatastoreType != cfgdomain.DatastoreTypeCatalog {
599+
if cfg.DatastoreType != cfgdomain.DatastoreTypeCatalog && cfg.DatastoreType != cfgdomain.DatastoreTypeAll {
600600
return fmt.Errorf("catalog is not configured for environment %s (datastore type: %s)", envKey, cfg.DatastoreType)
601601
}
602602

0 commit comments

Comments
 (0)