Skip to content

Commit

Permalink
Merge pull request #45 from beer-garden/update-version
Browse files Browse the repository at this point in the history
Fix system version choices
  • Loading branch information
1maple1 authored Sep 5, 2024
2 parents b71e3c8 + 40f8b9c commit 689e432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { buildParameterSF } from "./parameterBuilder";
*/
export function buildCommonSF(system, command) {
// SCHEMA
let systemVersions = [system.system_version, "latest"]
let systemVersions = [system.version, "latest"]

let instanceNames = [];
for (var instance of system.instances) {
Expand Down Expand Up @@ -69,7 +69,7 @@ export function buildCommonSF(system, command) {
},
};

commonSchema["system_version"]["default"] = system.system_version
commonSchema["system_version"]["default"] = system.version

if (system.instances.length == 1) {
commonSchema["instance_name"]["default"] = instanceNames[0];
Expand Down

0 comments on commit 689e432

Please sign in to comment.