summaryrefslogtreecommitdiff
path: root/cmd/podman/parse
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-03-21 15:15:52 +0100
committerValentin Rothberg <vrothberg@redhat.com>2022-03-22 13:04:35 +0100
commit6c030cd5737a6257e9b7ee2db232a24ccef294de (patch)
tree055ee9cc94c7ceef98b73cd4d4d9aadba345c83e /cmd/podman/parse
parent68b94338bac2f3a4ee18f959cc2b214bb22d7fcf (diff)
downloadpodman-6c030cd5737a6257e9b7ee2db232a24ccef294de.tar.gz
podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.tar.bz2
podman-6c030cd5737a6257e9b7ee2db232a24ccef294de.zip
fix a number of `godot` issues
Still an unknown number remains but I am running out of patience. Adding dots is not the best use of my time. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'cmd/podman/parse')
-rw-r--r--cmd/podman/parse/json.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/parse/json.go b/cmd/podman/parse/json.go
index d7486d0b1..85572a057 100644
--- a/cmd/podman/parse/json.go
+++ b/cmd/podman/parse/json.go
@@ -4,7 +4,7 @@ import "regexp"
var jsonFormatRegex = regexp.MustCompile(`^\s*(json|{{\s*json\s*(\.)?\s*}})\s*$`)
-// MatchesJSONFormat test CLI --format string to be a JSON request
+// MatchesJSONFormat test CLI --format string to be a JSON request.
func MatchesJSONFormat(s string) bool {
return jsonFormatRegex.Match([]byte(s))
}