We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dbf4ce commit 684f108Copy full SHA for 684f108
main.go
@@ -100,6 +100,7 @@ func parseAppConfig(path string) (conf config.Config) {
100
conf = config.Config{}
101
102
log.WithField("path", path).Infof("reading configuration from file %v", path)
103
+ /* #nosec */
104
if data, err := ioutil.ReadFile(path); err == nil {
105
configRaw = data
106
} else {
manager/manager.go
@@ -136,7 +136,8 @@ func (m *KubePoolManager) startupApply() {
136
}
137
138
m.nodePatchStatus = map[string]bool{}
139
- for _, node := range nodeList.Items {
+ for _, row := range nodeList.Items {
140
+ node := row
141
m.nodePatchStatus[node.Name] = true
142
m.applyNode(&node)
143
0 commit comments