Skip to content

Commit

Permalink
Add IgnoreResourceStatusField field to DiffOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
darshanime committed Jun 20, 2020
1 parent fb2ec13 commit 3814206
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ import (
// Holds diffing settings
type DiffOptions struct {
// If set to true then differences caused by aggregated roles in RBAC resources are ignored.
IgnoreAggregatedRoles bool `json:"ignoreAggregatedRoles,omitempty"`
IgnoreAggregatedRoles bool `json:"ignoreAggregatedRoles,omitempty"`
IgnoreResourceStatusField string `json:"ignoreResourceStatusField,omitempty"`
}

// Holds diffing result of two resources
Expand Down

0 comments on commit 3814206

Please sign in to comment.