Commit 70e44301 authored by João Cunha's avatar João Cunha

Use tap command for better readability

parent 3bdff7aa
......@@ -32,9 +32,9 @@ module Clusters
end
def update_command
command = install_command
install_command.tap do |command|
command.version = version
command
end
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment