From 1ed315f381f4f3b9dccb129d5c0ab3a2f2cb92bc Mon Sep 17 00:00:00 2001 From: Sebastian Tiedtke Date: Thu, 30 May 2024 15:53:08 -0400 Subject: [PATCH] Account for unset env var --- internal/owl/store.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/owl/store.go b/internal/owl/store.go index 297e033c0..5816fe0f8 100644 --- a/internal/owl/store.go +++ b/internal/owl/store.go @@ -412,6 +412,10 @@ func (s *Store) InsecureGet(k string) (string, error) { return "", err } + if res.Value == nil { + return "", nil + } + return res.Value.Resolved, nil }