summaryrefslogtreecommitdiff
path: root/pkg/util/utils.go
diff options
context:
space:
mode:
authorDmitry Smirnov <onlyjob@member.fsf.org>2019-11-12 15:39:36 +1100
committerDmitry Smirnov <onlyjob@member.fsf.org>2019-11-13 08:15:00 +1100
commit8d928d525ffa8147d34d0f148e0aec6189461318 (patch)
tree1d23cda4487383c0dd6bb5f7e86cabea75eec5fc /pkg/util/utils.go
parentde32b89eff0928abdef9d85a420b65d8865e737e (diff)
downloadpodman-8d928d525ffa8147d34d0f148e0aec6189461318.tar.gz
podman-8d928d525ffa8147d34d0f148e0aec6189461318.tar.bz2
podman-8d928d525ffa8147d34d0f148e0aec6189461318.zip
codespell: spelling corrections
Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
Diffstat (limited to 'pkg/util/utils.go')
-rw-r--r--pkg/util/utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/util/utils.go b/pkg/util/utils.go
index 633d8a124..6906b26d5 100644
--- a/pkg/util/utils.go
+++ b/pkg/util/utils.go
@@ -84,7 +84,7 @@ func ParseChanges(option string) (key string, vals []string, err error) {
if len(tokens) < 2 {
return "", []string{}, fmt.Errorf("invalid key value %s", option)
}
- key = strings.Trim(tokens[0], " ") // Need to trim whitespace part of delimeter.
+ key = strings.Trim(tokens[0], " ") // Need to trim whitespace part of delimiter.
val = tokens[1]
if strings.Contains(tokens[1], "[") && strings.Contains(tokens[1], "]") {
//Trim '[',']' if exist.