diff --git a/config/http_config.go b/config/http_config.go index ba7798ac..077ca046 100644 --- a/config/http_config.go +++ b/config/http_config.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// +build go1.8 + package config import ( diff --git a/config/http_config_test.go b/config/http_config_test.go index 840fd520..1928f2ad 100644 --- a/config/http_config_test.go +++ b/config/http_config_test.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// build go1.8 + package config import ( @@ -544,7 +546,6 @@ func TestBasicAuthPasswordFile(t *testing.T) { } func getCertificateBlobs(t *testing.T) map[string][]byte { - t.Helper() files := []string{ TLSCAChainPath, BarneyCertificatePath, diff --git a/config/tls_config_test.go b/config/tls_config_test.go index a33b072a..fadd2484 100644 --- a/config/tls_config_test.go +++ b/config/tls_config_test.go @@ -11,6 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +// build go1.8 + package config import (