Skip to content

Commit

Permalink
Fix 100 char lines
Browse files Browse the repository at this point in the history
  • Loading branch information
kate-osborn committed Nov 3, 2022
1 parent a9989c9 commit 8bedecd
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions internal/state/change_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,7 @@ func (c *ChangeProcessorImpl) CaptureUpsertChange(obj client.Object) {
c.changed = c.changed || c.store.changed || c.cfg.RelationshipCapturer.Exists(obj, client.ObjectKeyFromObject(obj))
}

func (c *ChangeProcessorImpl) CaptureDeleteChange(
resourceType client.Object,
nsname types.NamespacedName,
) {
func (c *ChangeProcessorImpl) CaptureDeleteChange(resourceType client.Object, nsname types.NamespacedName) {
c.lock.Lock()
defer c.lock.Unlock()

Expand Down Expand Up @@ -137,9 +134,7 @@ func (c *ChangeProcessorImpl) CaptureDeleteChange(
c.cfg.RelationshipCapturer.Remove(resourceType, nsname)
}

func (c *ChangeProcessorImpl) Process(
ctx context.Context,
) (changed bool, conf Configuration, statuses Statuses) {
func (c *ChangeProcessorImpl) Process(ctx context.Context) (changed bool, conf Configuration, statuses Statuses) {
c.lock.Lock()
defer c.lock.Unlock()

Expand Down

0 comments on commit 8bedecd

Please sign in to comment.