Skip to content

Commit

Permalink
fixed bug with CONFIG_KEYS
Browse files Browse the repository at this point in the history
  • Loading branch information
plasne committed Apr 30, 2024
1 parent 1402be2 commit 6d8f4de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,11 @@ public async Task<Dictionary<string, string>> Load(string[] filters, bool useFul
public async Task Apply(string[] filters = null)
{
// show configuration
Console.WriteLine($"APPCONFIG_URL = \"{APPCONFIG_URL}\"");
Console.WriteLine($"CONFIG_KEYS = \"{string.Join(", ", CONFIG_KEYS)}\"");
if (!string.IsNullOrEmpty(APPCONFIG_URL))
Console.WriteLine($"APPCONFIG_URL = \"{APPCONFIG_URL}\"");

if (CONFIG_KEYS is not null && CONFIG_KEYS.Length > 0)
Console.WriteLine($"CONFIG_KEYS = \"{string.Join(", ", CONFIG_KEYS)}\"");

// load the config
filters ??= CONFIG_KEYS;
Expand Down
2 changes: 1 addition & 1 deletion netbricks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<Title>NetBricks</Title>
<RootNamespace>NetBricks</RootNamespace>
<PackageId>NetBricks</PackageId>
<Version>1.9.1</Version>
<Version>1.9.2</Version>
<Authors>Peter Lasne</Authors>
<Company>Microsoft</Company>
<PackageDescription>Commonly used tooling for dotnetcore, including configuration management, logging, etc.</PackageDescription>
Expand Down

0 comments on commit 6d8f4de

Please sign in to comment.