Skip to content

Commit

Permalink
event-reporter: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-codefresh committed Sep 27, 2024
1 parent 472aa63 commit 17a0ef3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions event_reporter/utils/app_revision.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ func AddCommitsDetailsToAnnotations(unstrApp *unstructured.Unstructured, revisio
}

jsonRevisionsMetadata, err := json.Marshal(revisionsMetadata)

if err != nil {
return unstrApp
}
Expand All @@ -175,7 +174,6 @@ func AddCommitsDetailsToAppAnnotations(app appv1.Application, revisionsMetadata
}

jsonRevisionsMetadata, err := json.Marshal(revisionsMetadata)

if err != nil {
return app
}
Expand Down

0 comments on commit 17a0ef3

Please sign in to comment.