Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deviceplugin/generic.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (gp *GenericPlugin) refreshDevices() (bool, error) {
old := gp.devices
gp.devices = make(map[string]device)

var equal bool
equal := true
// Add the new devices to the map and check
// if they were in the old map.
for _, d := range devices {
Expand Down