morpheus-cli 3.6.29 → 3.6.30

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: f0de4d4e9a97c7bbbfa7c55bc246c3160f9de9d63dfb94a9c8cc5fe396de61ee
4
- data.tar.gz: d663cbe5ebf76f8f603250a9454435cf7d89e62056222ff373e922c3ca2d9ff0
3
+ metadata.gz: 6f3aecd629d9a09fd1cd649e93d153c1869d03fd9d473c3d894b1449c29774a8
4
+ data.tar.gz: 23a572b32e962afd1248c4940fb5543bef128abbda56b1f4268b971a6bee0e39
5
5
  SHA512:
6
- metadata.gz: 10989bc3cd5896f6e7492998e874377a53b8e1f327a9309f7ef3642430f9eb50d86a6afb4e2a2e1aa18b85dbd1a7b6b44d754cc23010e271dca1d41441d486dc
7
- data.tar.gz: f5c87086afe345cae27d8789912c358590d025ca6f3b10a6c770859a155ceec23c3221fb80d232a059fa58895cb99a69d9fa372a952b897335702ab3e078c2d1
6
+ metadata.gz: 497262a5fdad9635f231bc5456b600e5663895bad43a054dd4465634931fc53004bd9e70ab4497d4c5b578b53a42298ec2b822f175f3db25a6b47dc02276d022
7
+ data.tar.gz: 3eea1218556f445d99a045303a44e31c32ba6ecbbbe85bbae49e7aca5abc6d427d9302d33fe2f631d02c57d422de5f8bcf37508a4ae37552c9dc252dbd2eebcb
@@ -2087,7 +2087,7 @@ class Morpheus::Cli::Instances
2087
2087
  puts "\nDue to limitations by most Guest Operating Systems, Disk sizes can only be expanded and not reduced.\nIf a smaller plan is selected, memory and CPU (if relevant) will be reduced but storage will not.\n\n"
2088
2088
 
2089
2089
  # prompt for service plan
2090
- service_plans_json = @instances_interface.service_plans({zoneId: cloud_id, siteId: group_id, layoutId: layout_id}, options)
2090
+ service_plans_json = @instances_interface.service_plans({zoneId: cloud_id, siteId: group_id, layoutId: layout_id})
2091
2091
  service_plans = service_plans_json["plans"]
2092
2092
  service_plans_dropdown = service_plans.collect {|sp| {'name' => sp["name"], 'value' => sp["id"]} } # already sorted
2093
2093
  service_plans_dropdown.each do |plan|
@@ -335,7 +335,7 @@ class Morpheus::Cli::PoliciesCommand
335
335
  opts.on( '-u', '--user USER', "Username or ID, for scoping the policy to a user" ) do |val|
336
336
  options[:user] = val
337
337
  end
338
- opts.on( '--role ROLE', String, "Role Authority or ID, for scoping the policy to a user" ) do |val|
338
+ opts.on( '--role ROLE', String, "Role Authority or ID, for scoping the policy to a role" ) do |val|
339
339
  options[:role] = val
340
340
  end
341
341
  opts.on('--each-user [on|off]', String, "Apply individually to each user in role, for use with policy scoped by role.") do |val|
@@ -639,7 +639,7 @@ class Morpheus::Cli::PoliciesCommand
639
639
  end
640
640
  payload['policy'].deep_merge!(params)
641
641
 
642
-
642
+
643
643
  # Config
644
644
  if options['config']
645
645
  payload['policy']['config'] = options['config']
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "3.6.29"
4
+ VERSION = "3.6.30"
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: 3.6.29
4
+ version: 3.6.30
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: 2019-06-10 00:00:00.000000000 Z
14
+ date: 2019-06-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler