From 89003c46808c2162f9a4178749c80947cc90038f Mon Sep 17 00:00:00 2001 From: "David K. Bainbridge" Date: Thu, 27 Feb 2020 17:22:49 -0800 Subject: [PATCH] VOL-2681 - reason in default output for dev list Change-Id: I444a604d0c9b8c9a72132d66871d8ce7537a084e --- VERSION | 2 +- internal/pkg/commands/devices.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index bb83058..2ac9634 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.12 +1.0.13 diff --git a/internal/pkg/commands/devices.go b/internal/pkg/commands/devices.go index 0943303..e6a2a3f 100644 --- a/internal/pkg/commands/devices.go +++ b/internal/pkg/commands/devices.go @@ -29,7 +29,7 @@ import ( ) const ( - DEFAULT_DEVICE_FORMAT = "table{{ .Id }}\t{{.Type}}\t{{.Root}}\t{{.ParentId}}\t{{.SerialNumber}}\t{{.Vlan}}\t{{.AdminState}}\t{{.OperStatus}}\t{{.ConnectStatus}}" + DEFAULT_DEVICE_FORMAT = "table{{ .Id }}\t{{.Type}}\t{{.Root}}\t{{.ParentId}}\t{{.SerialNumber}}\t{{.AdminState}}\t{{.OperStatus}}\t{{.ConnectStatus}}\t{{.Reason}}" DEFAULT_DEVICE_PORTS_FORMAT = "table{{.PortNo}}\t{{.Label}}\t{{.Type}}\t{{.AdminState}}\t{{.OperStatus}}\t{{.DeviceId}}\t{{.Peers}}" DEFAULT_DEVICE_INSPECT_FORMAT = `ID: {{.Id}} TYPE: {{.Type}}