From 4546bf1ffd99dd817083fb9dd5286a205a0bb428 Mon Sep 17 00:00:00 2001 From: Cyril David Date: Wed, 27 Jan 2021 14:59:04 -0800 Subject: [PATCH] Fix build failure --- internal/display/logs.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/display/logs.go b/internal/display/logs.go index fad779cd9..fea4ffeab 100644 --- a/internal/display/logs.go +++ b/internal/display/logs.go @@ -5,6 +5,7 @@ import ( "strings" "github.com/auth0/auth0-cli/internal/ansi" + "github.com/auth0/auth0-cli/internal/auth0" "github.com/logrusorgru/aurora" "gopkg.in/auth0.v5/management" @@ -72,7 +73,7 @@ func typeDescFor(l *management.Log, noColor bool) (typ, desc string) { desc = strings.TrimSuffix(chunks[1], ")") } - desc = fmt.Sprintf("%s %s", desc, l.Description) + desc = fmt.Sprintf("%s %s", desc, auth0.StringValue(l.Description)) if !noColor { // colorize the event type field based on whether it's a success or failure