Skip to content

Commit b76a4ea

Browse files
committed
fix: marshaling with empty command
1 parent 82c7e1b commit b76a4ea

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
github.com/mholt/archiver/v3 v3.5.1
2222
github.com/mitchellh/go-homedir v1.1.0
2323
github.com/otiai10/copy v1.7.0
24-
github.com/outblocks/outblocks-plugin-go v0.0.0-20220712132257-cd7d358791cd
24+
github.com/outblocks/outblocks-plugin-go v0.0.0-20220712161354-7d8111dfc469
2525
github.com/pkg/errors v0.9.1
2626
github.com/pterm/pterm v0.12.41
2727
github.com/santhosh-tekuri/jsonschema/v5 v5.0.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6
339339
github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo=
340340
github.com/otiai10/mint v1.3.3 h1:7JgpsBaN0uMkyju4tbYHu0mnM55hNKVYLsXmwr15NQI=
341341
github.com/otiai10/mint v1.3.3/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc=
342-
github.com/outblocks/outblocks-plugin-go v0.0.0-20220712132257-cd7d358791cd h1:IOU31bASQSU9opWZ9Uvyb9iybabAPO1whxqrX4/ExVs=
343-
github.com/outblocks/outblocks-plugin-go v0.0.0-20220712132257-cd7d358791cd/go.mod h1:Wnb50otE4YCKHxyxpnJi1G3iYVW5pnTAeLHpo3Mu0Lk=
342+
github.com/outblocks/outblocks-plugin-go v0.0.0-20220712161354-7d8111dfc469 h1:KviouI7jaoEij8qlvLlKf6EMcUwCWWrwtQ7kqFo+OnY=
343+
github.com/outblocks/outblocks-plugin-go v0.0.0-20220712161354-7d8111dfc469/go.mod h1:Wnb50otE4YCKHxyxpnJi1G3iYVW5pnTAeLHpo3Mu0Lk=
344344
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
345345
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
346346
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=

templates/app-function.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ run:
3535
plugin: {{.App.RunInfo.Plugin}}
3636
{{- if .App.RunInfo.Command }}
3737
# Command to be run to for dev mode.
38-
command: {{.App.RunInfo.Command}}
38+
command: {{.App.RunInfo.Command | toJson }}
3939
{{ end }}
4040
# Additional environment variables to pass.
4141
# env:

templates/app-service.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ run:
3636
plugin: {{.App.RunInfo.Plugin}}
3737
{{- if .App.RunInfo.Command }}
3838
# Command to be run to for dev mode.
39-
command: {{.App.RunInfo.Command}}
39+
command: {{.App.RunInfo.Command | toJson }}
4040
{{ end }}
4141
# Additional environment variables to pass.
4242
# env:

0 commit comments

Comments
 (0)