Skip to content

Commit

Permalink
Fix bug in validator/metrics.go for driver validation
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Desiniotis <[email protected]>
  • Loading branch information
cdesiniotis committed Jun 24, 2024
1 parent de55fb7 commit 5b31c25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion validator/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ func (nm *NodeMetrics) watchDevicePluginValidation() {
}

func (nm *NodeMetrics) watchDriverValidation() {
driver := &Driver{}
driver := &Driver{
ctx: nm.ctx,
}

for {
_, err := driver.runValidation(true)
Expand Down

0 comments on commit 5b31c25

Please sign in to comment.