Skip to content

Commit a5d691b

Browse files
committed
Reformat
1 parent d34d7a9 commit a5d691b

File tree

3 files changed

+99
-99
lines changed

3 files changed

+99
-99
lines changed

src/KubernetesClient/Kubernetes.ConfigInit.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public KubernetesScheme Scheme
7272
get => _scheme;
7373
set
7474
{
75-
if(value == null) throw new ArgumentNullException(nameof(Scheme));
75+
if (value == null) throw new ArgumentNullException(nameof(Scheme));
7676
_scheme = value;
7777
}
7878
}
@@ -278,12 +278,12 @@ public static JsonSerializerSettings CreateSerializerSettings()
278278
/// </summary>
279279
internal static ServiceClientCredentials CreateCredentials(KubernetesClientConfiguration config)
280280
{
281-
if(config == null) throw new ArgumentNullException(nameof(config));
282-
if(!string.IsNullOrEmpty(config.AccessToken))
281+
if (config == null) throw new ArgumentNullException(nameof(config));
282+
if (!string.IsNullOrEmpty(config.AccessToken))
283283
{
284284
return new TokenCredentials(config.AccessToken);
285285
}
286-
else if(!string.IsNullOrEmpty(config.Username))
286+
else if (!string.IsNullOrEmpty(config.Username))
287287
{
288288
return new BasicAuthenticationCredentials() { UserName = config.Username, Password = config.Password };
289289
}

0 commit comments

Comments
 (0)