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

When k8s present, allow filtering of containers by namespace (take 2) #2362

Merged
merged 3 commits into from
Mar 23, 2017

Conversation

ekimekim
Copy link
Contributor

@ekimekim ekimekim commented Mar 20, 2017

Re-applies #2285 (reverted in #2348)
and fixes the bug(s) that prompted the revert, which turned out to be a matter of accidentially mutating
objects in a variety of ways, some of which were introduced by #2285 but
others that weren't, but were exposed as a problem due to changing the operation from a set to an append.

Fixes #1504

…ing code

This was causing a large number of repeated appending of the same option group
@ekimekim ekimekim requested a review from 2opremio March 20, 2017 22:10
topologies[i] = updateTopologyFilters(t, []APITopologyOptionGroup{
kubernetesFilters(ns...), unmanagedFilter,
})
if len(ns) > 0 { // We only want to apply k8s filters when we have k8s-related nodes

This comment was marked as abuse.

@ekimekim ekimekim merged commit 873e6a6 into master Mar 23, 2017
@ekimekim ekimekim deleted the mike/k8s-ns-in-container-view branch March 23, 2017 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter by kubernetes namespace in CONTAINERS view
3 participants