mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
golangci-lint: fix gosimple linter
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
This commit is contained in:
@@ -18,7 +18,6 @@ package backup
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
@@ -48,7 +47,7 @@ func (b *BackupTest) Init() error {
|
||||
b.TestMsg = &TestMSG{
|
||||
Desc: "Do backup resources for performance test",
|
||||
FailedMSG: "Failed to backup resources",
|
||||
Text: fmt.Sprintf("Should backup resources success"),
|
||||
Text: "Should backup resources success",
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -18,7 +18,6 @@ package restore
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
@@ -42,7 +41,7 @@ func (r *RestoreTest) Init() error {
|
||||
r.TestMsg = &TestMSG{
|
||||
Desc: "Do restore resources for performance test",
|
||||
FailedMSG: "Failed to restore resources",
|
||||
Text: fmt.Sprintf("Should restore resources success"),
|
||||
Text: "Should restore resources success",
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user