Skip to content

Commit

Permalink
Remove some unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantjoshi84 committed Jul 23, 2024
1 parent 940fa56 commit dc9ef1b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions cmd/supportBundle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ import (
)

// Errors returned by the functions
var ErrHostIP = errors.New("Host IP not found")
var ErrRemove = errors.New("Unable to remove bundle")
var ErrUpload = errors.New("Unable to upload supportBundle to S3")
var ErrPartialBundle = errors.New("Failed to generate complete supportBundle, generated partial bundle")
var ErrHostIP = errors.New("host IP not found")
var ErrRemove = errors.New("unable to remove bundle")
var ErrUpload = errors.New("unable to upload supportBundle to S3")
var ErrPartialBundle = errors.New("failed to generate complete supportBundle, generated partial bundle")

// HostIP test case
func TestHostIP(t *testing.T) {
type want struct {
host string
err error
// host string
err error
}

type args struct {
Expand Down Expand Up @@ -78,14 +78,14 @@ func TestGenSupportBundle(t *testing.T) {

timestamp := time.Now()
type want struct {
targetfile string
err error
// targetfile string
err error
}

type args struct {
exec cmdexec.Executor
timestamp time.Time
isRemote bool
exec cmdexec.Executor
// timestamp time.Time
// isRemote bool
}

cases := map[string]struct {
Expand Down

0 comments on commit dc9ef1b

Please sign in to comment.