Skip to content

Commit

Permalink
Account for unset env var
Browse files Browse the repository at this point in the history
  • Loading branch information
sourishkrout committed May 30, 2024
1 parent 8cfbbb3 commit 1ed315f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/owl/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 1ed315f

Please sign in to comment.