Skip to content

Commit

Permalink
Remove extra single-quotes from format parameter
Browse files Browse the repository at this point in the history
podman
	Error: template parsing error: template: image:1: function "json" not defined
  • Loading branch information
afbjorklund committed Apr 13, 2020
1 parent 9d087f8 commit 92b59cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/drivers/kic/oci/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func dockerSystemInfo() (dockerSysInfo, error) {
// podmanSysInfo returns podman system info --format '{{json .}}'
func podmanSystemInfo() (podmanSysInfo, error) {
var ps podmanSysInfo
cmd := exec.Command("sudo", Podman, "system", "info", "--format", "'{{json .}}'")
cmd := exec.Command("sudo", Podman, "system", "info", "--format", "{{json .}}")
out, err := cmd.CombinedOutput()
if err != nil {
return ps, errors.Wrap(err, "get podman system info")
Expand Down

0 comments on commit 92b59cb

Please sign in to comment.