1
0
Fork 0
mirror of https://github.com/Luzifer/vault2env.git synced 2024-12-20 12:11:19 +00:00

Fix: Reduce number of errors caused by empty transform set

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-01-21 14:25:39 +01:00
parent 4ae359a14a
commit 40f2cdc7d7
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -112,6 +112,10 @@ func main() {
envData := map[string]string{}
for _, setName := range cfg.TransformSet {
if setName == "" {
continue
}
if set, ok := transformSets[setName]; ok {
cfg.Transform = append(cfg.Transform, set...)
} else {