Skip to content

Commit

Permalink
fix issue on VisorTpAdd test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Aug 26, 2024
1 parent c9a6650 commit c3c8c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/integration/env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ func (env *TestEnv) VisorTpAddDefault(visor string, pk string) (*skyvisor.Transp
}

func (env *TestEnv) VisorTpAdd(visor, pk string, tpType network.Type) (*skyvisor.TransportSummary, error) {
cmd := fmt.Sprintf("/release/skywire cli --rpc %v:3435 tp add --rpk %v --type %s --sdurl http://localhost:9098 --json", visor, pk, tpType)
cmd := fmt.Sprintf("/release/skywire cli --rpc %v:3435 tp add --type %s --sdurl http://localhost:9098 --json", visor, pk, tpType)

Check failure on line 352 in internal/integration/env_test.go

View workflow job for this annotation

GitHub Actions / linux

SA5009: Printf call needs 2 args but has 3 args (staticcheck)
output, err := env.visorTpExec(cmd)
if err != nil {
return nil, err
Expand Down

0 comments on commit c3c8c71

Please sign in to comment.