Skip to content

Commit

Permalink
Binding Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bhillkeyfactor committed Feb 23, 2024
1 parent 2cdd99e commit 00be498
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PaloAlto/Client/PaloAltoClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private string GetTemplateName(string storePath)
return templateName;
}

public async Task<GetProfileByCertificateResponse> GetProfileByCertificate(string certificate,string storePath)
public async Task<GetProfileByCertificateResponse> GetProfileByCertificate(string storePath, string certificate)
{
try
{
Expand Down
2 changes: 1 addition & 1 deletion PaloAlto/Jobs/Management.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private JobResult PerformAddition(ManagementJobConfiguration config)
if (duplicate)
{
DateTime currentTime = DateTime.Now;
alias += alias + "-" + currentTime.ToString("yyyyMMddHHmmss");
alias = RightTrimAfter(alias, 19) + "_" + currentTime.ToString("yyMMddHHmmss"); //fix name length
}

//2. Check palo alto for existing thumprints of anything in the chain //todo change path to come from store path
Expand Down

0 comments on commit 00be498

Please sign in to comment.