Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter nodes from redis ignore list by key job:node_name if present #12

Open
todo bot opened this issue Sep 30, 2021 · 0 comments
Open

filter nodes from redis ignore list by key job:node_name if present #12

todo bot opened this issue Sep 30, 2021 · 0 comments

Comments

@todo
Copy link

todo bot commented Sep 30, 2021

dns-sync/pkg/helper.go

Lines 199 to 204 in 952ca4e

// @todo: filter nodes from redis ignore list by key `job:node_name` if present
ignored := false
for _, ignoredNode := range ignoredNodes.Nodes {
key := fmt.Sprintf("%s:%s", job.Name, droplet.Name)
if strings.EqualFold(key, ignoredNode.Name) {
logger.Info("ignored node found: ", key, " --> ", ignoredNode.Name)


This issue was generated by todo based on a todo comment in 952ca4e. It's been assigned to @undefined because they committed the code.
@todo todo bot added the todo 🗒️ label Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants