xbox -> kube

This commit is contained in:
2020-06-22 14:20:52 -05:00
parent 950f79dfc2
commit 85657ceab6
5 changed files with 14 additions and 14 deletions
@@ -26,7 +26,7 @@ const size = (n, unit) => {
const getVersionInfo = () => {
// TODO(telackey): Get from config (or figure out a better way to do this).
const versionFile = '/opt/xbox/VERSION';
const versionFile = '/opt/kube/VERSION';
if (fs.existsSync(versionFile)) {
return fs.readFileSync(versionFile, { encoding: 'UTF8' }).replace(/^\s+|\s+$/g, '');
}
@@ -87,7 +87,7 @@ const getSystemInfo = async () => {
},
dxos: {
xbox: {
kube: {
version: getVersionInfo()
}
}