mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 05:46:37 +00:00
Fix linter error reported.
Some checks failed
Some checks failed
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com>
This commit is contained in:
committed by
Xun Jiang/Bruce Jiang
parent
758f6a4847
commit
64e3643006
@@ -22,7 +22,8 @@ func TestPkgImportNoCloudProvider(t *testing.T) {
|
||||
t.Logf("Current test file path: %s", filename)
|
||||
t.Logf("Current test directory: %s", filepath.Dir(filename)) // should be this package name
|
||||
// go list -f {{.Deps}} ./<path-to-this-package-dir>
|
||||
cmd := exec.Command(
|
||||
cmd := exec.CommandContext(
|
||||
t.Context(),
|
||||
"go",
|
||||
"list",
|
||||
"-f",
|
||||
|
||||
Reference in New Issue
Block a user