Fix unconfigured IDP output in idp info command (#4600)

This commit is contained in:
Aditya Manthramurthy
2023-06-13 13:49:33 -07:00
committed by GitHub
parent 41926421f9
commit 916e05bc24
+4
View File
@@ -412,6 +412,10 @@ func (i idpConfig) JSON() string {
}
func (i idpConfig) String() string {
if len(i.Info) == 0 {
return "Not configured."
}
// Determine required width for key column.
fieldColWidth := 0
for _, kv := range i.Info {