kcl-lang / konfig

KCL Kubernetes Config Abstraction & Composition Module
https://kcl-lang.io
Apache License 2.0
7 stars 6 forks source link

Unable to compile `nginx-example`: 'UndefinedType' object is not iterable #17

Closed ovk closed 2 months ago

ovk commented 2 months ago

1. Minimal reproduce step (Required)

  1. Clone this repo
  2. Try compiling nginx-example following the instructions

2. What did you expect to see? (Required)

YAML output as in the example.

3. What did you see instead (Required)

Error message 'UndefinedType' object is not iterable:

image

4. What is your KCL components version? (Required)

KCL 0.9.2-linux-amd64

Peefy commented 2 months ago

Sorry, I've forgot to update the code: https://github.com/kcl-lang/konfig/pull/18

ovk commented 2 months ago

Works now. Thank you for quick fix!