This commit is contained in:
danieldabate 2019-08-22 14:05:34 -03:00
parent 2b13a7fa38
commit 24e5032838

View File

@ -54,6 +54,6 @@ type CreateOnlyPolicy struct{}
// Apply applies the create-only policy which strips out updates and deletions. // Apply applies the create-only policy which strips out updates and deletions.
func (p *CreateOnlyPolicy) Apply(changes *Changes) *Changes { func (p *CreateOnlyPolicy) Apply(changes *Changes) *Changes {
return &Changes{ return &Changes{
Create: changes.Create, Create: changes.Create,
} }
} }