From c05b1acb438bf6e5c04aeac1604ee12cf3084e6b Mon Sep 17 00:00:00 2001 From: kpacha Date: Wed, 1 Apr 2020 19:30:03 +0200 Subject: [PATCH] typos fixed --- config/config.go | 2 +- proxy/formatter.go | 2 +- test/doc.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 28c6c5921..3876d70e1 100644 --- a/config/config.go +++ b/config/config.go @@ -536,7 +536,7 @@ func (u *UnsupportedVersionError) Error() string { } // EndpointPathError is the error returned by the configuration init process when an endpoint -// is using a forbiden path +// is using a forbidden path type EndpointPathError struct { Path string Method string diff --git a/proxy/formatter.go b/proxy/formatter.go index 23abc8ca6..88026028d 100644 --- a/proxy/formatter.go +++ b/proxy/formatter.go @@ -127,7 +127,7 @@ func newWhitelistingFilter(whitelist []string) propertyFilter { } func buildDictPath(accumulator map[string]interface{}, fields []string) map[string]interface{} { - ok := true + var ok bool var c map[string]interface{} var fIdx int fEnd := len(fields) diff --git a/test/doc.go b/test/doc.go index f6ab19a96..d04ed3ae2 100644 --- a/test/doc.go +++ b/test/doc.go @@ -1,2 +1,2 @@ -// Package test contains the integration tests for tje KrakenD framework +// Package test contains the integration tests for the KrakenD framework package test