Skip to content

Commit 4ccdb06

Browse files
committed
fix unittests error
1 parent 2871bb5 commit 4ccdb06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config/rbac/role.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ rules:
4141
- collasets/status
4242
verbs:
4343
- get
44-
- patch
44+
- patchu
4545
- update
4646
- apiGroups:
4747
- apps.kusionstack.io

pkg/controllers/collaset/synccontrol/sync_control.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ func (r *RealSyncControl) Update(
715715

716716
// fulfillPodUpdateInfo to all not updatedRevision pod
717717
if err = updater.FulfillPodUpdatedInfo(resources.UpdatedRevision, podInfo); err != nil {
718-
logger.Error(err, fmt.Sprintf("fail to analyse pod %s/%s in-place update support: %s", podInfo.Namespace, podInfo.Name))
718+
logger.Error(err, fmt.Sprintf("fail to analyse pod %s/%s in-place update support", podInfo.Namespace, podInfo.Name))
719719
continue
720720
}
721721

0 commit comments

Comments
 (0)