Skip to content

Commit f5092a4

Browse files
committed
fix: build unstructured for resolve template
1 parent 0972f89 commit f5092a4

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Try a basic HTTP request handler using [ping.yaml](./examples/ping.yaml):
7171
Start the workflow with:
7272
7373
```sh
74-
./dist/uniflow start --from-specs ./examples/ping.yaml --env=PORT=8000
74+
./dist/uniflow start --from-specs ./examples/ping.yaml --env PORT=8000
7575
```
7676

7777
Verify by calling the HTTP endpoint:

README_kr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ make build
7171
다음 명령어로 워크플로우를 실행합니다:
7272
7373
```sh
74-
./dist/uniflow start --from-specs ./examples/ping.yaml --env=PORT=8000
74+
./dist/uniflow start --from-specs ./examples/ping.yaml --env PORT=8000
7575
```
7676

7777
정상 작동 여부를 확인하려면 HTTP 엔드포인트를 호출하세요:

pkg/symbol/loader.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ func (l *Loader) Load(ctx context.Context, specs ...spec.Spec) error {
106106
errs = append(errs, err)
107107
} else if err := unstructured.Bind(secrets...); err != nil {
108108
errs = append(errs, err)
109+
} else if err := unstructured.Build(); err != nil {
110+
errs = append(errs, err)
109111
} else if decode, err := l.scheme.Decode(unstructured); err != nil {
110112
errs = append(errs, err)
111113
} else {

0 commit comments

Comments
 (0)