Skip to content

Commit

Permalink
add one more errror return
Browse files Browse the repository at this point in the history
  • Loading branch information
FxKu committed Aug 12, 2024
1 parent b63263c commit 275acd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cluster/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,9 @@ func createPatroniResources(cluster *Cluster) error {
func annotateResources(cluster *Cluster) error {
clusterOptions := clusterLabelsOptions(cluster)
patchData, err := metaAnnotationsPatch(externalAnnotations)
if err != nil {
return err
}

stsList, err := cluster.KubeClient.StatefulSets(namespace).List(context.TODO(), clusterOptions)
if err != nil {
Expand Down

0 comments on commit 275acd3

Please sign in to comment.