in desktop/src/app/utils/decorators/decorator-base.ts [36:96]
protected stateField(state: any): string {
switch (state) {
case "invalid":
return "Invalid";
case "unmapped":
return "Unmapped";
case "upgrading":
return "Upgrading";
case "creating":
return "Creating";
case "deleting":
return "Deleting";
case "resizing":
return "Resizing";
case "stopping":
return "Stopping";
case "steady":
return "Steady";
case "starting":
return "Starting";
case "noPoolOrNodeId":
return "No pool or node";
case "waitingforstarttask":
return "Waiting for start task";
case "starttaskfailed":
return "Start task failed";
case "idle":
return "Idle";
case "leavingpool":
return "Leaving pool";
case "rebooting":
return "Rebooting";
case "reimaging":
return "Reimaging";
case "running":
return "Running";
case "unusable":
return "Unusable";
case "doesNotExist":
return "Doesn't exist";
case "enabled":
return "Enabled";
case "disabled":
return "Disabled";
case "active":
return "Active";
case "disabling":
return "Disabling";
case "terminating":
return "Terminating";
case "completed":
return "Completed";
case "preparing":
return "Preparing";
case "deletefailed":
return "Delete failed";
default:
return this.stringField(state);
}
}