Skip to content

Commit

Permalink
Remove unused helper func getModules from client.drivers.local
Browse files Browse the repository at this point in the history
Signed-off-by: davis-haba <davishaba@google.com>
  • Loading branch information
davis-haba committed Jan 20, 2022
1 parent ec333d4 commit ac8fe07
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions constraint/pkg/client/drivers/local/local_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -807,19 +807,6 @@ func TestDriver_DeleteData_StorageErrors(t *testing.T) {
}
}

func getModules(dr *Driver) []string {
result := make([]string, len(dr.modules))

idx := 0
for module := range dr.modules {
result[idx] = module
idx++
}

sort.Strings(result)
return result
}

type fakeStorage struct {
storage.Store

Expand Down

0 comments on commit ac8fe07

Please sign in to comment.