Skip to content

Commit

Permalink
machine status: include two new field in the output
Browse files Browse the repository at this point in the history
1. include instance_type and instance_gpu in the output.
2. rerange the field by importance.
  • Loading branch information
karajan1001 authored and efiop committed Nov 4, 2021
1 parent dd0d4f5 commit be61284
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dvc/command/machine.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,14 @@ def run(self):


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:
Expand Down

0 comments on commit be61284

Please sign in to comment.