Skip to content

Commit

Permalink
example and logger feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-roca committed Oct 28, 2024
1 parent e996e5c commit 4e801a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/deployment/correlate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ export class DeploymentCorrelateCommand extends Command {
'Correlate ArgoCD deployment manually',
'datadog-ci deployment correlate --provider argocd --config-repo https://github.com/my-manifests-repo --config-shas 92eb0db6926aaf51b9fb223895b6d8d1c0ff1ff4',
],
[
'Correlate ArgoCD deployment manually to several commits',
'datadog-ci deployment correlate --provider argocd --config-repo https://github.com/my-manifests-repo --config-shas 92eb0db6926aaf51b9fb223895b6d8d1c0ff1ff4 --config-shas e996e5c30ba1cb4dc7f634ab4a0a59473741c4de',
],
],
})

Expand Down Expand Up @@ -106,7 +110,7 @@ export class DeploymentCorrelateCommand extends Command {

if (this.configurationShas.length === 0) {
this.logger.error(
'Could not retrieve commit SHAs, make commits and then call this command or provide them with --config-shas'
'Could not retrieve commit SHAs, commit changes and then call this command or provide them with --config-shas'
)

return 1
Expand Down

0 comments on commit 4e801a5

Please sign in to comment.