diff --git a/pkg/funky/injector.go b/pkg/funky/injector.go index 308fb13..22425c3 100644 --- a/pkg/funky/injector.go +++ b/pkg/funky/injector.go @@ -35,6 +35,9 @@ func (i *EnvVarSecretInjector) Inject(req *Request) error { secrets := map[string]string{} for _, v := range i.secrets { + if v == "" { + continue + } secrets[v] = os.Getenv("d_secret_" + v) }