forked from cerc-io/laconic-console
xbox -> kube
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user