Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

Commit 1a9d8e5

Browse files
author
Alexander Matyushentsev
authored
refactor: move cmd/tools package to argoproj/notifications-engine/pkg/cmd (#268)
Signed-off-by: Alexander Matyushentsev <[email protected]>
1 parent a6d446b commit 1a9d8e5

File tree

13 files changed

+64
-732
lines changed

13 files changed

+64
-732
lines changed

catalog/install.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,8 @@ data:
484484
oncePer: app.status.operationState.syncResult.revision
485485
send:
486486
- app-deployed
487-
when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status == 'Healthy'
487+
when: app.status.operationState.phase in ['Succeeded'] and app.status.health.status
488+
== 'Healthy'
488489
trigger.on-health-degraded: |
489490
- description: Application has degraded
490491
send:

cmd/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import (
55
"os"
66
"path/filepath"
77

8+
"github.com/argoproj-labs/argocd-notifications/cmd/tools"
9+
810
argocert "github.com/argoproj/argo-cd/v2/util/cert"
911
"github.com/argoproj/notifications-engine/pkg/util/http"
1012
"github.com/spf13/cobra"
11-
12-
"github.com/argoproj-labs/argocd-notifications/cmd/tools"
1313
)
1414

1515
func init() {

cmd/tools/context.go

Lines changed: 0 additions & 188 deletions
This file was deleted.

cmd/tools/template.go

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)