fix: Use the maximum number of users for a license warning (#4410)

This was causing a banner on dev.coder.com. But now we have a test!
This commit is contained in:
Kyle Carberry
2022-10-06 20:59:25 -05:00
committed by GitHub
parent 915bb41ea2
commit 3049a56355
3 changed files with 39 additions and 6 deletions
+4
View File
@@ -158,6 +158,10 @@ func DisplayTable(out any, sort string, filterColumns []string) (string, error)
if val != nil {
v = val.Format(time.RFC3339)
}
case *int64:
if val != nil {
v = *val
}
case fmt.Stringer:
if val != nil {
v = val.String()