Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 69bac58

Browse files
committed
Revert "Remove unused private function"
This reverts commit 31a6e5c.
1 parent a376564 commit 69bac58

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/models/runtime/domain.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ def protocols
149149

150150
private
151151

152+
def k8s_enabled?
153+
Config.config.kubernetes_api_configured?
154+
end
155+
152156
def validate_change_owning_organization(organization)
153157
return if self.new? || owning_organization == organization
154158

0 commit comments

Comments
 (0)