mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 05:36:12 +00:00
Merge pull request #10028 from andronat/small_wrong_printing_in_tests
Changed printing in a test file
This commit is contained in:
@@ -18,7 +18,6 @@ package cmd
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"strings"
|
||||
"testing"
|
||||
@@ -240,7 +239,7 @@ func TestDeleteMultipleObjectContinueOnMissing(t *testing.T) {
|
||||
cmd.Flags().Set("filename", "../../../examples/guestbook/frontend-service.json")
|
||||
cmd.Flags().Set("cascade", "false")
|
||||
filenames := cmd.Flags().Lookup("filename").Value.(*util.StringList)
|
||||
fmt.Printf("filenames: %v\n", filenames)
|
||||
t.Logf("filenames: %v\n", filenames)
|
||||
err := RunDelete(f, buf, cmd, []string{}, *filenames)
|
||||
if err == nil || !errors.IsNotFound(err) {
|
||||
t.Errorf("unexpected error: expected NotFound, got %v", err)
|
||||
|
Reference in New Issue
Block a user