mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
machine status: include two new field in the output
1. include instance_type and instance_gpu in the output. 2. rerange the field by importance.
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
dd0d4f5a2c
commit
be6128470f
@@ -193,7 +193,14 @@ class CmdMachineCreate(CmdBase):
|
||||
|
||||
|
||||
class CmdMachineStatus(CmdBase):
|
||||
SHOWN_FIELD = ["name", "cloud", "instance_hdd_size", "instance_ip"]
|
||||
SHOWN_FIELD = [
|
||||
"name",
|
||||
"cloud",
|
||||
"instance_ip",
|
||||
"instance_type",
|
||||
"instance_hdd_size",
|
||||
"instance_gpu",
|
||||
]
|
||||
|
||||
def run(self):
|
||||
if self.repo.machine is None:
|
||||
|
||||
Reference in New Issue
Block a user