From f599afe64efceb8e892b764a2f31d7892231c462 Mon Sep 17 00:00:00 2001 From: Justas Brazauskas Date: Sun, 13 Dec 2015 18:00:39 +0200 Subject: [PATCH] Fix typos found across repository Signed-off-by: Justas Brazauskas --- opts/envfile_test.go | 2 +- opts/ip.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opts/envfile_test.go b/opts/envfile_test.go index a172267b5b..a2e2200fa1 100644 --- a/opts/envfile_test.go +++ b/opts/envfile_test.go @@ -106,7 +106,7 @@ func TestParseEnvFileBadlyFormattedFile(t *testing.T) { } } -// Test ParseEnvFile for a file with a line exeeding bufio.MaxScanTokenSize +// Test ParseEnvFile for a file with a line exceeding bufio.MaxScanTokenSize func TestParseEnvFileLineTooLongFile(t *testing.T) { content := strings.Repeat("a", bufio.MaxScanTokenSize+42) content = fmt.Sprint("foo=", content) diff --git a/opts/ip.go b/opts/ip.go index d787b56ca6..c7b0dc9947 100644 --- a/opts/ip.go +++ b/opts/ip.go @@ -22,7 +22,7 @@ func NewIPOpt(ref *net.IP, defaultVal string) *IPOpt { } // Set sets an IPv4 or IPv6 address from a given string. If the given -// string is not parsable as an IP address it returns an error. +// string is not parseable as an IP address it returns an error. func (o *IPOpt) Set(val string) error { ip := net.ParseIP(val) if ip == nil {