Skip to content

Commit

Permalink
fixing testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed Mar 6, 2024
1 parent ac8e26f commit 8647aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/storage_wipe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ func writeDataToCluster(
}

asClient, err := as.NewClientWithPolicyAndHost(policy, hostList...)
if err != nil {
return err
if asClient == nil {
return fmt.Errorf("aerospike client is nil %v", err)
}

defer asClient.Close()
Expand Down

0 comments on commit 8647aec

Please sign in to comment.