Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
  • Loading branch information
arkodg committed Oct 10, 2023
1 parent 15dba95 commit 0d5eb0f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/status/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,6 @@ func isStatusEqual(objA, objB interface{}) bool {
rvb := reflect.ValueOf(objB).Elem()
bStatus := rvb.FieldByName("Status")

if cmp.Equal(aStatus, bStatus, opts) {
return true
}
return cmp.Equal(aStatus, bStatus, opts)

return false
}

0 comments on commit 0d5eb0f

Please sign in to comment.