Skip to content

Commit 82133a4

Browse files
committed
Fixed a validation issue in constructor
1 parent 4c18ca0 commit 82133a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KubernetesClientCredentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public KubernetesClientCredentials(string userName, string password)
3232
throw new ArgumentNullException(nameof(userName));
3333
}
3434

35-
if (string.IsNullOrWhiteSpace(userName))
35+
if (string.IsNullOrWhiteSpace(password))
3636
{
3737
throw new ArgumentNullException(nameof(password));
3838
}

0 commit comments

Comments
 (0)