summaryrefslogtreecommitdiff
path: root/libpod
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 /libpod
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 'libpod')
-rw-r--r--libpod/common/common.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpod/common/common.go b/libpod/common/common.go
index 93a736af2..34cabeadc 100644
--- a/libpod/common/common.go
+++ b/libpod/common/common.go
@@ -1,16 +1,16 @@
package common
-// IsTrue determines whether the given string equals "true"
+// IsTrue determines whether the given string equals "true".
func IsTrue(str string) bool {
return str == "true"
}
-// IsFalse determines whether the given string equals "false"
+// IsFalse determines whether the given string equals "false".
func IsFalse(str string) bool {
return str == "false"
}
-// IsValidBool determines whether the given string equals "true" or "false"
+// IsValidBool determines whether the given string equals "true" or "false".
func IsValidBool(str string) bool {
return IsTrue(str) || IsFalse(str)
}