mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-21 10:17:33 +00:00
Remove test/integration/* from hack/.golint_failures
This commit is contained in:
@@ -57,7 +57,7 @@ func (tp *TesterPlugin) Reserve(ps plugins.PluginSet, pod *v1.Pod, nodeName stri
|
||||
|
||||
// Prebind is a test function that returns (true, nil) or errors for testing.
|
||||
func (tp *TesterPlugin) Prebind(ps plugins.PluginSet, pod *v1.Pod, nodeName string) (bool, error) {
|
||||
var err error = nil
|
||||
var err error
|
||||
tp.numPrebindCalled++
|
||||
if tp.failPrebind {
|
||||
err = fmt.Errorf("injecting failure for pod %v", pod.Name)
|
||||
|
||||
Reference in New Issue
Block a user