Skip to content

Commit 1e577d1

Browse files
committed
fix: update session versions
1 parent b0a4304 commit 1e577d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/otomi-stack.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,10 @@ export default class OtomiStack {
530530
}, {})
531531
updatedSettingsData.otomi.nodeSelector = nodeSelectorObject
532532
}
533+
// Update environment VERSIONS.core when otomi version changes
534+
if (updatedSettingsData.otomi?.version && updatedSettingsData.otomi?.version !== env.VERSIONS.core) {
535+
env.VERSIONS.core = updatedSettingsData.otomi.version
536+
}
533537
}
534538

535539
settings[settingId] = removeBlankAttributes(updatedSettingsData[settingId] as Record<string, any>)

0 commit comments

Comments
 (0)