Skip to content

Commit bc44b0d

Browse files
committed
fix append issue
1 parent a23ce16 commit bc44b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ziti/collection.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func NewSdkCollectionFromEnv(envVariable string, configTypes []string) *CtxColle
8282
continue
8383
}
8484

85-
cfg.ConfigTypes = append(configTypes)
85+
cfg.ConfigTypes = append(cfg.ConfigTypes, configTypes...)
8686

8787
//collection.NewContext stores the new ctx in its internal collection
8888
_, err = collection.NewContext(cfg)

0 commit comments

Comments
 (0)