Skip to content

Commit

Permalink
✅ Use proxytype consts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smoliji committed Jun 8, 2020
1 parent 8a4335f commit d05abdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ func mockGcloudContainerClustersList(mockedClusters []*gcloud.Cluster) func() {
}
}

func mockProxyType(proxyType string) func() {
func mockProxyType(proxyType ProxyType) func() {
originalFn := readProxyType
readProxyType = func() string {
readProxyType = func() ProxyType {
return proxyType
}
return func() {
Expand Down

0 comments on commit d05abdd

Please sign in to comment.