Use tap command for better readability
This commit is contained in:
parent
3bdff7aadf
commit
70e443014a
1 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,9 @@ module Clusters
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_command
|
def update_command
|
||||||
command = install_command
|
install_command.tap do |command|
|
||||||
command.version = version
|
command.version = version
|
||||||
command
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue