summaryrefslogtreecommitdiff
path: root/app/models/gcp
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/gcp')
-rw-r--r--app/models/gcp/cluster.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/gcp/cluster.rb b/app/models/gcp/cluster.rb
index 81af8161b8f..8e7807a3a55 100644
--- a/app/models/gcp/cluster.rb
+++ b/app/models/gcp/cluster.rb
@@ -48,7 +48,10 @@ module Gcp
validates :gcp_cluster_zone, presence: true
validates :gcp_cluster_size, presence: true,
- numericality: { only_integer: true, greater_than: 0 }
+ numericality: {
+ only_integer: true,
+ greater_than: 0
+ }
validates :project_namespace,
allow_blank: true,