Skip to content

Commit

Permalink
feat: add initiatedBy info to App status field when performing a roll…
Browse files Browse the repository at this point in the history
…back (#9713)

Signed-off-by: Mário Bezerra <mario.bezerra@incognia.com>
  • Loading branch information
mvgmb committed Jun 20, 2022
1 parent dfeacd3 commit a67b97d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/application/application.go
Expand Up @@ -1584,6 +1584,7 @@ func (s *Server) Rollback(ctx context.Context, rollbackReq *application.Applicat
SyncStrategy: &appv1.SyncStrategy{Apply: &appv1.SyncStrategyApply{}},
Source: &deploymentInfo.Source,
},
InitiatedBy: appv1.OperationInitiator{Username: session.Username(ctx)},
}
a, err = argo.SetAppOperation(appIf, *rollbackReq.Name, &op)
if err != nil {
Expand Down

0 comments on commit a67b97d

Please sign in to comment.