Skip to content

Commit dc65f2b

Browse files
fix(provider-definition): Fix invalid template expression in provider (#10)
We can not reference a property that is itself a template expression. We also don't support templating outside of x-endpoint at the moment.
1 parent 78ebb75 commit dc65f2b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

provider.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,12 @@ detailsSchema:
2525
service_url_frontend_3000:
2626
type: string
2727
readOnly: true
28-
statusUrl:
29-
type: string
30-
readOnly: true
31-
default: '${{ .hostname }}/health'
3228
status:
3329
type: 'object'
3430
properties:
3531
state:
3632
type: string
37-
x-endpoint: '${{ .statusUrl }}'
33+
x-endpoint: '${{ .service_url_frontend_3000 }}/health'
3834
secretsSchema: {}
3935
plans:
4036
- id: 0

0 commit comments

Comments
 (0)