diff --git a/ui-v2/app/components/hashicorp-consul/index.hbs b/ui-v2/app/components/hashicorp-consul/index.hbs index 4433ea5538..3ecd0d8589 100644 --- a/ui-v2/app/components/hashicorp-consul/index.hbs +++ b/ui-v2/app/components/hashicorp-consul/index.hbs @@ -249,5 +249,4 @@ © {{env 'CONSUL_COPYRIGHT_YEAR'}} HashiCorp
Consul {{env 'CONSUL_VERSION'}}
Documentation - {{{concat ''}}} \ No newline at end of file diff --git a/ui-v2/config/environment.js b/ui-v2/config/environment.js index e9523bb559..fa4b1d9b0e 100644 --- a/ui-v2/config/environment.js +++ b/ui-v2/config/environment.js @@ -45,16 +45,6 @@ module.exports = function(environment, $ = process.env) { .split('-') .shift(); })(process.env.CONSUL_COPYRIGHT_YEAR), - CONSUL_GIT_SHA: (function(val) { - if (val) { - return val; - } - - return require('child_process') - .execSync('git rev-parse --short HEAD') - .toString() - .trim(); - })(process.env.CONSUL_GIT_SHA), CONSUL_VERSION: (function(val) { if (val) { return val; @@ -136,7 +126,7 @@ module.exports = function(environment, $ = process.env) { // won't really exist in the actual ember ENV when it's being served // through Consul. See settingsInjectedIndexFS.Open in Go code for the // details. - CONSUL_UI_SETTINGS_PLACEHOLDER: "__CONSUL_UI_SETTINGS_GO_HERE__", + CONSUL_UI_SETTINGS_PLACEHOLDER: '__CONSUL_UI_SETTINGS_GO_HERE__', }); break; }