Update all the references of NC v1beta2 to v1beta3
Signed-off-by: Sunny <darkowlzz@protonmail.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user