Commit 6288bb9
committed
Get rid of redundant logs in HCN version range checks
Kubeproxy logs are filled with redudnant version check spam from an unexported call that's invoked
as part of checking if a feature is supported. The logs don't detail what feature(s) are even being checked
so it just seems like spam. With the way things are implemented all of the hcn features are checked for support in
any of the `hcn.XSupported()` calls not just the one being checked, so these logs come up quite a bit if there's
many features that aren't supported on the machine.
Add two new logs in a sync.Once that logs the HNS version and supported features. This should be enough
to investigate version issues.
Should remedy microsoft#1043
Signed-off-by: Daniel Canter <[email protected]>1 parent 9bc76cd commit 6288bb9
1 file changed
Lines changed: 16 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| 10 | + | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
79 | 95 | | |
80 | 96 | | |
81 | 97 | | |
| |||
91 | 107 | | |
92 | 108 | | |
93 | 109 | | |
94 | | - | |
95 | 110 | | |
96 | 111 | | |
97 | 112 | | |
98 | | - | |
99 | 113 | | |
100 | 114 | | |
101 | 115 | | |
102 | | - | |
103 | 116 | | |
104 | 117 | | |
105 | 118 | | |
106 | | - | |
107 | 119 | | |
108 | 120 | | |
109 | 121 | | |
| |||
0 commit comments