summaryrefslogtreecommitdiff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorChris Baumbauer <cab@cabnetworks.net>2018-11-03 14:43:48 -0700
committerChris Baumbauer <cab@cabnetworks.net>2018-11-03 14:43:48 -0700
commit73789fdfd2a6e34c9a05cc9e65930146e23b3195 (patch)
tree4ada8e3d2bf813f4f1caa03734f628e2b4419db6 /app/assets/javascripts
parentc10452d285134b7eac63551f5a09606fb5d4f5e0 (diff)
downloadgitlab-ce-73789fdfd2a6e34c9a05cc9e65930146e23b3195.tar.gz
Fix the way hostname is validated with the knative app
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/clusters/stores/clusters_store.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/clusters/stores/clusters_store.js b/app/assets/javascripts/clusters/stores/clusters_store.js
index 26566b60ba6..f4a016f3ef1 100644
--- a/app/assets/javascripts/clusters/stores/clusters_store.js
+++ b/app/assets/javascripts/clusters/stores/clusters_store.js
@@ -52,7 +52,7 @@ export default class ClusterStore {
statusReason: null,
requestStatus: null,
requestReason: null,
- hostname: null
+ hostname: null,
},
},
};
@@ -102,7 +102,9 @@ export default class ClusterStore {
? `jupyter.${this.state.applications.ingress.externalIp}.nip.io`
: '');
} else if (appId === KNATIVE) {
- this.state.applications.knative.hostname = serverAppEntry.hostname ? serverAppEntry.hostname : null;
+ this.state.applications.knative.hostname = serverAppEntry.hostname
+ ? serverAppEntry.hostname
+ : null;
}
});
}