summaryrefslogtreecommitdiff
path: root/app/models/clusters/concerns/application_core.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/clusters/concerns/application_core.rb')
-rw-r--r--app/models/clusters/concerns/application_core.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/models/clusters/concerns/application_core.rb b/app/models/clusters/concerns/application_core.rb
index 683b45331f6..cdb42117281 100644
--- a/app/models/clusters/concerns/application_core.rb
+++ b/app/models/clusters/concerns/application_core.rb
@@ -30,6 +30,12 @@ module Clusters
# Override if you need extra data synchronized
# from K8s after installation
end
+
+ def update_command
+ command = install_command
+ command.version = version
+ command
+ end
end
end
end