mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +00:00
Merge pull request #127422 from srivastav-abhishek/go-vet-fix
Go vet fixes for gotip
This commit is contained in:
@@ -3651,7 +3651,7 @@ func setupTestSchedulerWithVolumeBinding(ctx context.Context, t *testing.T, volu
|
||||
// end with a period.
|
||||
func makePredicateError(failReason string) error {
|
||||
s := fmt.Sprintf("0/1 nodes are available: %v.", failReason)
|
||||
return fmt.Errorf(s)
|
||||
return errors.New(s)
|
||||
}
|
||||
|
||||
func mustNewPodInfo(t *testing.T, pod *v1.Pod) *framework.PodInfo {
|
||||
|
||||
Reference in New Issue
Block a user