morpheus-cli 5.3.2.2 → 5.3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 727a18a73b2f9c5a7dbec90521cf690eccc5a36de5c90631b17ddc6e658befbf
4
- data.tar.gz: 98faaa24be96fd839c85a9e3463881bb3f59ab10740244867a2290b880c83988
3
+ metadata.gz: fedf8a7443a29dd8ac5097e8f17bec94d481d3d1cadffd16dce033d9cb152f61
4
+ data.tar.gz: f1a306e2a42cebcb474371e589c07b2b31f6ed84faee0d47b640813e672d08ce
5
5
  SHA512:
6
- metadata.gz: 654136bc313f445739d1665861e67831f95d5cddd138a9cf619f824cd78d2ce665f1332a0a09c73039850146adb30347830e935536331ab8941bd203b56d01c2
7
- data.tar.gz: b63702230910bffae83a7784ad3385c92df5ef7df13b3cfb83d3cb59bb42e593f1a6dc6a2b65628aea928ced34772a8b7f45c7d6a33d2ae93eda22640e3695a3
6
+ metadata.gz: fe7834f3099b3dd5666c9230c8b833ac05a613d58465850d0eaf5e88cdb973a8eec4ac020946d6ba902abb43cd71d705760040e69b243a2e670e2dd8b5295c9b
7
+ data.tar.gz: 3cc4909d59ae2fcf99f319e74a13eb4db2261fe475629723b6a091fbf3dd13aa5f92e939ae9262ec44b9817b97591c21d6ac69046c400c41523ed588c9602087
data/Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
1
  FROM ruby:2.5.1
2
2
 
3
- RUN gem install morpheus-cli -v 5.3.2.2
3
+ RUN gem install morpheus-cli -v 5.3.2.3
4
4
 
5
5
  ENTRYPOINT ["morpheus"]
@@ -1327,13 +1327,9 @@ module Morpheus::Cli::ProvisioningHelper
1327
1327
 
1328
1328
  field_context = "dataVolume#{volume_index}"
1329
1329
 
1330
- if no_prompt
1331
- volume_action = 'keep'
1332
- else
1333
- action_options = [{'name' => 'Modify', 'value' => 'modify'}, {'name' => 'Keep', 'value' => 'keep'}, {'name' => 'Delete', 'value' => 'delete'}]
1334
- v_prompt = Morpheus::Cli::OptionTypes.prompt([{'fieldContext' => field_context, 'fieldName' => 'action', 'type' => 'select', 'fieldLabel' => "Modify/Keep/Delete volume '#{current_volume['name']}'", 'selectOptions' => action_options, 'required' => true, 'defaultValue' => 'keep', 'description' => 'Modify, Keep or Delete existing data volume?'}], options[:options])
1335
- volume_action = v_prompt[field_context]['action']
1336
- end
1330
+ action_options = [{'name' => 'Modify', 'value' => 'modify'}, {'name' => 'Keep', 'value' => 'keep'}, {'name' => 'Delete', 'value' => 'delete'}]
1331
+ v_prompt = Morpheus::Cli::OptionTypes.prompt([{'fieldContext' => field_context, 'fieldName' => 'action', 'type' => 'select', 'fieldLabel' => "Modify/Keep/Delete volume '#{current_volume['name']}'", 'selectOptions' => action_options, 'required' => true, 'defaultValue' => 'keep', 'description' => 'Modify, Keep or Delete existing data volume?'}], options[:options])
1332
+ volume_action = v_prompt[field_context]['action']
1337
1333
 
1338
1334
  if volume_action == 'delete'
1339
1335
  # deleted volume is just excluded from post params
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "5.3.2.2"
4
+ VERSION = "5.3.2.3"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morpheus-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.2.2
4
+ version: 5.3.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-09-02 00:00:00.000000000 Z
14
+ date: 2021-09-08 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler