Skip to content

Commit 41f46d4

Browse files
committed
fix(main): loading .env, ignore if file not found
Æ add logs
1 parent 72adf86 commit 41f46d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/Feature.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ environmentKinds:
44
- legacy
55
- onprem
66
values:
7-
logLevel:
7+
config.logLevel:
88
displayName: Log level
99
config:
1010
type: string

cmd/picante/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func Load() error {
250250
var err error
251251
err = godotenv.Load()
252252
if err != nil {
253-
return fmt.Errorf("loading .env file: %w", err)
253+
log.Debug("not loading from .env file")
254254
}
255255

256256
requiredFlags := map[string]bool{

0 commit comments

Comments
 (0)