diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-04 22:13:10 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-10-04 22:13:10 +0200 |
commit | 07247601f3208fce65b3ac64ad3854dcc3dfd8c2 (patch) | |
tree | 42e0bf83e13517dd5789cf8a14851fceb6918ee8 /app/views | |
parent | bee5c08094b4f2c125509f61e9e03a7a700bba5e (diff) | |
download | gitlab-ce-07247601f3208fce65b3ac64ad3854dcc3dfd8c2.tar.gz |
Remove status enum from Gcp::Cluster, use state_machine#state
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/clusters/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/clusters/show.html.haml b/app/views/projects/clusters/show.html.haml index f160ce98b55..ecf43981c49 100644 --- a/app/views/projects/clusters/show.html.haml +++ b/app/views/projects/clusters/show.html.haml @@ -1,7 +1,7 @@ - status_path = status_namespace_project_cluster_path(@cluster.project.namespace, @cluster.project, @cluster.id, format: :json) if can?(current_user, :admin_cluster, @cluster) && @cluster.on_creation? .row.prepend-top-default.edit-cluster-form.js-edit-cluster-form{ data: { status_path: status_path, toggle_status: @cluster.enabled? ? 'true': 'false', - cluster_status: @cluster.status, + cluster_status: @cluster.status_name, cluster_status_reason: @cluster.status_reason }} = render 'sidebar' .col-lg-8 |