We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fd063a + dac0469 commit 1c027c1Copy full SHA for 1c027c1
pkg/network/node/metrics.go
@@ -167,7 +167,7 @@ func updateARPMetrics() {
167
168
func updatePodIPMetrics() {
169
numAddrs := 0
170
- items, err := ioutil.ReadDir(hostLocalDataDir + "/networks/openshift-sdn/")
+ items, err := ioutil.ReadDir(hostLocalDataDir + "/openshift-sdn/")
171
if err != nil && os.IsNotExist(err) {
172
// Don't log an error if the directory doesn't exist (eg, no pods started yet)
173
return
pkg/network/node/node.go
@@ -48,7 +48,7 @@ import (
48
49
const (
50
openshiftCNIFile = "80-openshift-network.conf"
51
- hostLocalDataDir = "/var/lib/cni"
+ hostLocalDataDir = "/var/lib/cni/networks"
52
)
53
54
type osdnPolicy interface {
0 commit comments