Skip to content

Commit

Permalink
Fix typo in GetKubeConfigFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Friedman authored and Adam Friedman committed Jan 17, 2024
1 parent 8a20c12 commit e4a59f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public static IServiceCollection AddKubeClientOptionsFromPodServiceAccount(this
/// </returns>
static FileInfo GetKubeConfigFile(string kubeConfigFileName)
{
if (!String.IsNullOrWhiteSpace(kubeConfigFileName))
if (String.IsNullOrWhiteSpace(kubeConfigFileName))
kubeConfigFileName = K8sConfig.Locate();

return new FileInfo(kubeConfigFileName);
Expand Down

0 comments on commit e4a59f7

Please sign in to comment.