Skip to content

Commit

Permalink
Bump version of fog-softlayer dep. Simplify ssh-keys proc in server c…
Browse files Browse the repository at this point in the history
…reate options.
  • Loading branch information
cphrmky committed Jun 15, 2016
1 parent 1cba37f commit 4c7916b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion knife-softlayer.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(spec|spec|features)/})
spec.require_paths = ["lib"]

spec.add_dependency "fog-softlayer", "~> 1.1.1"
spec.add_dependency "fog-softlayer", "~> 1.1.2"
spec.add_dependency "knife-windows", "> 0.5.12"
spec.add_dependency "net-ssh", "> 2.8.0"

Expand Down
2 changes: 1 addition & 1 deletion lib/chef/knife/softlayer_server_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class SoftlayerServerCreate < Knife
:short => "-S KEY",
:long => "--ssh-keys KEY",
:description => "The ssh keys for the SoftLayer Virtual Guest environment. Accepts a space separated list of integers.",
:proc => Proc.new { |ssh_keys| ssh_keys.split(' ').map { |k| {:id => k}} }
:proc => Proc.new { |ssh_keys| ssh_keys.split(' ') }

option :ssh_port,
:short => "-p PORT",
Expand Down

0 comments on commit 4c7916b

Please sign in to comment.