diff options
Diffstat (limited to 'app/models/clusters/concerns')
-rw-r--r-- | app/models/clusters/concerns/application_core.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/clusters/concerns/application_core.rb b/app/models/clusters/concerns/application_core.rb index cdb42117281..ee964fb7c93 100644 --- a/app/models/clusters/concerns/application_core.rb +++ b/app/models/clusters/concerns/application_core.rb @@ -32,9 +32,9 @@ module Clusters end def update_command - command = install_command - command.version = version - command + install_command.tap do |command| + command.version = version + end end end end |