Skip to content

Commit

Permalink
Use alias method for ContainerEmbeddedAnsible#disable
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonin committed Oct 9, 2017
1 parent 2876066 commit 8b53791
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/embedded_ansible/container.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ def stop
orch.delete_secret(ANSIBLE_SECRETS_NAME)
end

def disable
stop
end
alias_method :disable, :stop

def running?
true
Expand Down

0 comments on commit 8b53791

Please sign in to comment.