We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbe4930 commit 62b33c5Copy full SHA for 62b33c5
execution/execution.go
@@ -77,6 +77,10 @@ func GetEnvironment() (Environment, error) {
77
if err := json.Unmarshal(data.Bytes(), &bootstrapParams); err != nil {
78
return Environment{}, fmt.Errorf("failed to decode instance params: %w", err)
79
}
80
+ if bootstrapParams.ExtraSpecs == nil {
81
+ // Initialize ExtraSpecs as an empty JSON object
82
+ bootstrapParams.ExtraSpecs = json.RawMessage([]byte("{}"))
83
+ }
84
env.BootstrapParams = bootstrapParams
85
86
0 commit comments