1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Update all the references of NC v1beta2 to v1beta3

Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
Sunny
2023-12-08 14:14:25 +00:00
parent b28b5dd9b9
commit e901e8b6f8
35 changed files with 138 additions and 136 deletions

View File

@@ -19,7 +19,7 @@ package main
import (
"github.com/spf13/cobra"
notificationv1 "github.com/fluxcd/notification-controller/api/v1beta2"
notificationv1 "github.com/fluxcd/notification-controller/api/v1beta3"
)
var resumeAlertCmd = &cobra.Command{
@@ -44,7 +44,7 @@ func init() {
}
func (obj alertAdapter) getObservedGeneration() int64 {
return obj.Alert.Status.ObservedGeneration
return 0
}
func (obj alertAdapter) setUnsuspended() {