From be7d2da46710b8370faef041f1dee6760fc36bf6 Mon Sep 17 00:00:00 2001 From: Jake Heath <76011913+jakeyheath@users.noreply.github.com> Date: Thu, 18 Apr 2024 07:18:38 -0700 Subject: [PATCH] fix: nil pointer exception (#3239) --- cli/cmd/logs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/logs.go b/cli/cmd/logs.go index 43b9577473..72549d10a1 100644 --- a/cli/cmd/logs.go +++ b/cli/cmd/logs.go @@ -106,7 +106,7 @@ func runLogs(cmd *cobra.Command, args []string) error { logrus.Info("You're missing the container name, use the --container flag to filter the logs further.") } return b.PrintLogs( - util.NewLogGroupContext(ctx, happyClient.HappyConfig.GetLogGroupPrefix()), + util.NewLogGroupContext(ctx, happyConfig.GetLogGroupPrefix()), stackName, serviceName, containerName,