Skip to content

Commit 0b7025a

Browse files
author
Lee Fine
committed
1 parent 17c9034 commit 0b7025a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
v2.11.3
2+
- Change returned result of a Management-Create job for a store that already exists from 'Failure' to 'Warning'
3+
4+
v2.11.2
5+
- Documentation updates
6+
17
v2.11.1
28
- Bug Fix: added ability to set SSH port when managing Linux servers to Discovery jobs
39
- Added "@" as a valid character for Linux file paths

RemoteFile/ManagementBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ public JobResult ProcessJob(ManagementJobConfiguration config)
7979
logger.LogDebug($"BEGIN create Operation for {config.CertificateStoreDetails.StorePath} on {config.CertificateStoreDetails.ClientMachine}.");
8080
if (certificateStore.DoesStoreExist())
8181
{
82-
throw new RemoteFileException($"Certificate store {config.CertificateStoreDetails.StorePath} already exists.");
82+
logger.LogWarning($"Certificate store {config.CertificateStoreDetails.StorePath} already exists.");
83+
return new JobResult() { Result = OrchestratorJobStatusJobResult.Warning, JobHistoryId = config.JobHistoryId, FailureMessage = $"Certificate store {config.CertificateStoreDetails.StorePath} already exists. Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}" };
8384
}
8485
else
8586
{

0 commit comments

Comments
 (0)