Skip to content

Commit

Permalink
resourcesync: adjust to queue key
Browse files Browse the repository at this point in the history
  • Loading branch information
mfojtik committed Mar 11, 2020
1 parent f17c0ee commit 892bfb1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -104,7 +104,7 @@ func (c *ResourceSyncController) SyncConfigMap(destination, source ResourceLocat
c.configMapSyncRules[destination] = source

// make sure the new rule is picked up
c.queue.Add(factory.QueueKey(c.Name()))
c.queue.Add(factory.DefaultQueueKey)
return nil
}

Expand All @@ -121,7 +121,7 @@ func (c *ResourceSyncController) SyncSecret(destination, source ResourceLocation
c.secretSyncRules[destination] = source

// make sure the new rule is picked up
c.queue.Add(factory.QueueKey(c.Name()))
c.queue.Add(factory.DefaultQueueKey)
return nil
}

Expand Down

0 comments on commit 892bfb1

Please sign in to comment.