make fmt
This commit is contained in:
parent
0694f2635b
commit
716f19a457
|
@ -1,16 +1,16 @@
|
||||||
package client
|
package client
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"errors"
|
||||||
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
"net/http"
|
|
||||||
"errors"
|
|
||||||
|
|
||||||
"github.com/Azure/go-autorest/autorest/azure/auth"
|
"github.com/Azure/go-autorest/autorest/azure/auth"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetTestClientSet(t *testing.T) (AzureClientSet, error) {
|
func GetTestClientSet(t *testing.T) (AzureClientSet, error) {
|
||||||
if (os.Getenv("AZURE_INTEGRATION_TEST") == "") {
|
if os.Getenv("AZURE_INTEGRATION_TEST") == "" {
|
||||||
t.Skip("AZURE_INTEGRATION_TEST not set")
|
t.Skip("AZURE_INTEGRATION_TEST not set")
|
||||||
} else {
|
} else {
|
||||||
a, err := auth.NewAuthorizerFromEnvironment()
|
a, err := auth.NewAuthorizerFromEnvironment()
|
||||||
|
@ -28,4 +28,3 @@ func GetTestClientSet(t *testing.T) (AzureClientSet, error) {
|
||||||
|
|
||||||
return nil, errors.New("Couldn't create client set")
|
return nil, errors.New("Couldn't create client set")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue