lib/magellan/cli/resources/client_version.rb in magellan-cli-0.2.18 vs lib/magellan/cli/resources/client_version.rb in magellan-cli-0.2.19
- old
+ new
@@ -14,10 +14,10 @@
"stage_title_id" => {name: "stage", class: "Stage"},
}
desc "create VERSION", "Create a new #{resource_name}"
def create(version)
- stage = load_selection("stage")
+ stage = load_selection!("stage")
params = {
parameter_name => {
"stage_title_id" => stage["id"],
"version" => version,
}