Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
fix issue with loaded parameter from command line (#530)
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew Fortunka <mafortun@microsoft.com>
  • Loading branch information
fortunkam and Matthew Fortunka committed Jun 28, 2021
1 parent b9d942f commit 26b7048
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class ExtractorConfig
public string notIncludeNamedValue { get; set; }

[Description("Parameterize named values where value is retrieved from a Key Vault secret")]
public bool paramNamedValuesKeyVaultSecrets { get; set; }
public string paramNamedValuesKeyVaultSecrets { get; set; }

[Description("Group the operations into batches of x?")]
public int operationBatchSize {get;set;}
Expand Down Expand Up @@ -137,7 +137,7 @@ public Extractor(ExtractorConfig exc, string dirName)
this.paramLogResourceId = exc.paramLogResourceId != null && exc.paramLogResourceId.Equals("true");
this.notIncludeNamedValue = exc.notIncludeNamedValue != null && exc.notIncludeNamedValue.Equals("true");
this.operationBatchSize = exc.operationBatchSize;
this.paramNamedValuesKeyVaultSecrets = exc.paramNamedValuesKeyVaultSecrets;
this.paramNamedValuesKeyVaultSecrets = exc.paramNamedValuesKeyVaultSecrets != null && exc.paramNamedValuesKeyVaultSecrets.Equals("true");
}

public Extractor(ExtractorConfig exc) : this(exc, exc.fileFolder)
Expand Down

0 comments on commit 26b7048

Please sign in to comment.