Skip to content

Commit

Permalink
improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoaresd committed Dec 4, 2024
1 parent 57a568e commit 5298f1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsupport/wait/host.go
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ func (a *HostAwaitility) WaitAndVerifyThatUserSignupIsNotCreated(t *testing.T, n
// WaitForBannedUser waits until there is a BannedUser available with the given email hash
// !!! WARNING: for now, just used for WA
func (a *HostAwaitility) WaitForBannedUser(t *testing.T, userEmailHash string) (*toolchainv1alpha1.BannedUser, error) {
t.Logf("waiting for BannedUser for user '%s' in namespace '%s'", userEmailHash, a.Namespace)
t.Logf("waiting for BannedUser for user email hash '%s' in namespace '%s'", userEmailHash, a.Namespace)
var bannedUser *toolchainv1alpha1.BannedUser
emailHashLabelMatch := client.MatchingLabels(map[string]string{
toolchainv1alpha1.BannedUserEmailHashLabelKey: userEmailHash,
Expand All @@ -789,7 +789,7 @@ func (a *HostAwaitility) WaitForBannedUser(t *testing.T, userEmailHash string) (
})
// log message if an error occurred
if err != nil {
t.Logf("failed to find Banned for email address '%s': %v", userEmailHash, err)
t.Logf("failed to find Banned for email hash '%s': %v", userEmailHash, err)
}
return bannedUser, err
}
Expand Down

0 comments on commit 5298f1e

Please sign in to comment.