Skip to content

Commit

Permalink
fix(plan): remove confusing log line (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
linki authored and Yerken committed May 5, 2017
1 parent 515ed52 commit 305f691
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plan/policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ limitations under the License.

package plan

import (
log "github.com/Sirupsen/logrus"
)

// Policy allows to apply different rules to a set of changes.
type Policy interface {
Apply(changes *Changes) *Changes
Expand All @@ -44,7 +40,6 @@ type UpsertOnlyPolicy struct{}

// Apply applies the upsert-only policy which strips out any deletions.
func (p *UpsertOnlyPolicy) Apply(changes *Changes) *Changes {
log.Debugf("Records to be excluded from the delete list due to upsert-only policy: %v", changes.Delete)
return &Changes{
Create: changes.Create,
UpdateOld: changes.UpdateOld,
Expand Down

0 comments on commit 305f691

Please sign in to comment.