Skip to content

Commit

Permalink
Merge pull request #516 from MsysTechnologiesllc/ash/fix_add_shutdown…
Browse files Browse the repository at this point in the history
…_behavior

[MSYS-677] Fix the review comments for the PR #514
  • Loading branch information
Nimisha Sharad authored Nov 23, 2017
2 parents f2d0bfe + 67d3b83 commit e95ad57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/chef/knife/ec2_server_create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class Ec2ServerCreate < Knife
:default => false

option :instance_initiated_shutdown_behavior,
:long => "--instance-initiated-shutdown-behavior STUTDOWN_BEHAVIOR",
:long => "--instance-initiated-shutdown-behavior SHUTDOWN_BEHAVIOR",
:description => "Indicates whether an instance stops or terminates when you initiate shutdown from the instance. Possible values are 'stop' and 'terminate', default is 'stop'."

def run
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/ec2_server_create_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
:placement_group => nil,
:iam_instance_profile_name => nil,
:ebs_optimized => "false",
:instance_initiated_shutdown_behavior=>nil
:instance_initiated_shutdown_behavior => nil
}
allow(@bootstrap).to receive(:run)
end
Expand Down

0 comments on commit e95ad57

Please sign in to comment.