Skip to content

Commit

Permalink
Support Go < 1.8
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
  • Loading branch information
simonpasquier committed Mar 4, 2019
1 parent ccc5b66 commit d8d76bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions config/http_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build go1.8

package config

import (
Expand Down
3 changes: 2 additions & 1 deletion config/http_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// build go1.8

package config

import (
Expand Down Expand Up @@ -544,7 +546,6 @@ func TestBasicAuthPasswordFile(t *testing.T) {
}

func getCertificateBlobs(t *testing.T) map[string][]byte {
t.Helper()
files := []string{
TLSCAChainPath,
BarneyCertificatePath,
Expand Down
2 changes: 2 additions & 0 deletions config/tls_config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// build go1.8

package config

import (
Expand Down

0 comments on commit d8d76bd

Please sign in to comment.