fix build warning (#678)

This commit is contained in:
Boshi Lian
2021-08-10 10:40:40 -07:00
committed by GitHub
parent b8f78e4641
commit 3b8d3beab4

View File

@@ -5,7 +5,7 @@ namespace k8s
{
public static class FileUtils
{
private static readonly IFileSystem realFileSystem = new FileSystem();
private static readonly IFileSystem RealFileSystem = new FileSystem();
private static IFileSystem currentFileSystem = null;
public static void InjectFilesystem(IFileSystem fs)
@@ -15,7 +15,7 @@ namespace k8s
public static IFileSystem FileSystem()
{
return currentFileSystem != null ? currentFileSystem : realFileSystem;
return currentFileSystem != null ? currentFileSystem : RealFileSystem;
}
public sealed class InjectedFileSystem : IDisposable