File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,12 @@ type tiltSettings struct {
82
82
}
83
83
84
84
type providerSettings struct {
85
- Name string `json:"name,omitempty"`
86
- Context * string `json:"context"`
85
+ Name string `json:"name,omitempty"`
86
+ Config * providerConfig `json:"config,omitempty"`
87
+ }
88
+
89
+ type providerConfig struct {
90
+ Context * string `json:"context,omitempty"`
87
91
}
88
92
89
93
type debugConfig struct {
@@ -309,8 +313,8 @@ func loadProviders(r string) (map[string]string, error) {
309
313
310
314
providerContexts := map [string ]string {}
311
315
for _ , p := range providerData {
312
- if p .Context != nil {
313
- contextPath = r + "/" + * p .Context
316
+ if p .Config != nil && p . Config . Context != nil {
317
+ contextPath = r + "/" + * p .Config . Context
314
318
} else {
315
319
contextPath = r
316
320
}
You can’t perform that action at this time.
0 commit comments