Add no changes to flow
[ZITADOPER-4]
This commit is contained in:
@@ -19,6 +19,7 @@ package controller
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
zitadelv1alpha1 "bitbucket.org/topmanage-software-engineering/zitadel-k8s-operator/src/api/v1alpha1"
|
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,
|
ActionIds: actionIds,
|
||||||
})
|
})
|
||||||
if err != nil {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user