File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -287,29 +287,29 @@ public void DeletedConfigurationFile()
287
287
}
288
288
289
289
/// <summary>
290
- /// Checks Host is loaded from the default configuration file as a string
290
+ /// Checks Host is loaded from the default configuration file as string
291
291
/// </summary>
292
292
[ Fact ]
293
293
public void DefaultConfigurationAsStringLoaded ( )
294
294
{
295
295
var txt = File . ReadAllText ( "assets/kubeconfig.yml" ) ;
296
-
296
+
297
297
var cfg = KubernetesClientConfiguration . BuildConfigFromConfigFile ( txt , null , null ) ;
298
298
Assert . NotNull ( cfg . Host ) ;
299
- }
300
-
301
-
299
+ }
300
+
301
+
302
302
/// <summary>
303
- /// Checks Host is loaded from the default configuration file as a stream
303
+ /// Checks Host is loaded from the default configuration file as stream
304
304
/// </summary>
305
305
[ Fact ]
306
306
public void DefaultConfigurationAsStreamLoaded ( )
307
- {
308
- using ( var stream = File . OpenRead ( "assets/kubeconfig.yml" ) )
309
- {
310
- var cfg = KubernetesClientConfiguration . BuildConfigFromConfigFile ( stream ) ;
311
- Assert . NotNull ( cfg . Host ) ;
312
- }
307
+ {
308
+ using ( var stream = File . OpenRead ( "assets/kubeconfig.yml" ) )
309
+ {
310
+ var cfg = KubernetesClientConfiguration . BuildConfigFromConfigFile ( stream ) ;
311
+ Assert . NotNull ( cfg . Host ) ;
312
+ }
313
313
}
314
314
}
315
315
}
You can’t perform that action at this time.
0 commit comments