Skip to content

Commit

Permalink
Fixed go vet issues in these files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash Sridharan authored and asridharan committed Oct 31, 2018
1 parent 8e5c5a2 commit b7f0f57
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkg/appgw/appgw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"time"

"github.com/Azure/application-gateway-kubernetes-ingress/pkg/k8scontext"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-06-01/network"
"github.com/Azure/go-autorest/autorest/to"
. "github.com/onsi/ginkgo"
Expand All @@ -16,6 +15,8 @@ import (
"k8s.io/apimachinery/pkg/util/intstr"
"k8s.io/client-go/kubernetes"
testclient "k8s.io/client-go/kubernetes/fake"

"github.com/Azure/application-gateway-kubernetes-ingress/pkg/k8scontext"
)

var _ = Describe("Tests `appgw.ConfigBuilder`", func() {
Expand Down
3 changes: 2 additions & 1 deletion pkg/appgw/backendaddresspools.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@
package appgw

import (
"github.com/Azure/application-gateway-kubernetes-ingress/pkg/utils"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-06-01/network"
"github.com/Azure/go-autorest/autorest/to"
"github.com/golang/glog"
"k8s.io/api/core/v1"
"k8s.io/api/extensions/v1beta1"

"github.com/Azure/application-gateway-kubernetes-ingress/pkg/utils"
)

func (builder *appGwConfigBuilder) BackendAddressPools(ingressList [](*v1beta1.Ingress)) (ConfigBuilder, error) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/appgw/backendhttpsettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ import (
"errors"
"fmt"

"github.com/Azure/application-gateway-kubernetes-ingress/pkg/utils"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-06-01/network"
"github.com/Azure/go-autorest/autorest/to"
"github.com/golang/glog"
"k8s.io/api/core/v1"
"k8s.io/api/extensions/v1beta1"
"k8s.io/apimachinery/pkg/util/intstr"

"github.com/Azure/application-gateway-kubernetes-ingress/pkg/utils"
)

func (builder *appGwConfigBuilder) BackendHTTPSettingsCollection(ingressList [](*v1beta1.Ingress)) (ConfigBuilder, error) {
Expand Down

0 comments on commit b7f0f57

Please sign in to comment.