Add no changes to flow
[ZITADOPER-4]
This commit is contained in:
@@ -19,6 +19,7 @@ package controller
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
zitadelv1alpha1 "bitbucket.org/topmanage-software-engineering/zitadel-k8s-operator/src/api/v1alpha1"
|
||||
@@ -140,7 +141,9 @@ func (wr *wrappedFlowReconciler) reconcileFlow(ctx context.Context, ztdClient *m
|
||||
ActionIds: actionIds,
|
||||
})
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error triggering action flow: %v", err)
|
||||
if !strings.Contains(err.Error(), "No Changes") {
|
||||
return fmt.Errorf("Error triggering action flow: %v", err)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user