Skip to content

Commit

Permalink
Merge pull request #1590 from philipbjorge/patch-3
Browse files Browse the repository at this point in the history
Fix Equals Comparison for CORS annotation
  • Loading branch information
aledbf authored Oct 25, 2017
2 parents cd37f96 + c594d54 commit 9794640
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/ingress/annotations/cors/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ func (c1 *CorsConfig) Equal(c2 *CorsConfig) bool {
if c1.CorsAllowHeaders != c2.CorsAllowHeaders {
return false
}
if c1.CorsAllowMethods != c2.CorsAllowMethods {
return false
}
if c1.CorsAllowOrigin != c2.CorsAllowOrigin {
return false
}
Expand Down

0 comments on commit 9794640

Please sign in to comment.