Skip to content

Commit

Permalink
move TestCfgFileToEnv() out of conditional block
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Oct 4, 2024
1 parent 236e432 commit d639a8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apstra/test_utils/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ func GetTestClient(t testing.TB, ctx context.Context) *apstra.Client {
testClientMutex.Lock()
defer testClientMutex.Unlock()

if sharedClient == nil {
TestCfgFileToEnv(t)
TestCfgFileToEnv(t)

if sharedClient == nil {
clientCfg, err := utils.NewClientConfig("", "")
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit d639a8c

Please sign in to comment.