Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #514 #519

Merged
merged 2 commits into from
Feb 26, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(jsonnet): fix nil map in Opts.Clone
  • Loading branch information
morlay committed Feb 19, 2021
commit 5e1156726ce19415c13b39eaf5bb54f998a780e6
3 changes: 2 additions & 1 deletion pkg/jsonnet/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ type Opts struct {

// Clone returns a deep copy of Opts
func (o Opts) Clone() Opts {
var extCode, tlaCode InjectedCode
extCode, tlaCode := InjectedCode{}, InjectedCode{}

for k, v := range o.ExtCode {
extCode[k] = v
}
Expand Down