removes not used setting from app settings
All checks were successful
PiwigoDirectorySync/pipeline/head This commit looks good

This commit is contained in:
Philipp Häfelfinger 2023-09-10 23:12:05 +02:00
parent 70af13e416
commit d0a908f96c
3 changed files with 2 additions and 8 deletions

View File

@ -34,9 +34,6 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
</Content>
<Content Include="..\Jenkinsfile"> <Content Include="..\Jenkinsfile">
<Link>Jenkinsfile</Link> <Link>Jenkinsfile</Link>
</Content> </Content>

View File

@ -3,7 +3,5 @@
internal class Settings internal class Settings
{ {
public string DbProvider { get; set; } = null!; public string DbProvider { get; set; } = null!;
public string ImageRootDirectory { get; set; } = null!; public bool HasErrors => string.IsNullOrEmpty(DbProvider);
public bool HasErrors => string.IsNullOrEmpty(DbProvider) || string.IsNullOrEmpty(ImageRootDirectory);
} }

View File

@ -12,7 +12,6 @@
"InMemory": "InMemorySyncDb" "InMemory": "InMemorySyncDb"
}, },
"Settings": { "Settings": {
"DbProvider": "Sqlite", "DbProvider": "Sqlite"
"ImageRootDirectory": ".\\"
} }
} }