Skip to content

Commit cfe6e3e

Browse files
committed
fix reused var in ping command
1 parent b8f26fb commit cfe6e3e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cmd/ping.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ var pingCmd = &cobra.Command{
2727

2828
start := time.Now()
2929
_, err := client.Ping(ctx)
30-
elapsed := time.Since(start)
31-
3230
if err != nil {
3331
if api.IsAuthError(err) {
3432
output.Error("Authentication failed. Run 'runware auth login' to set your API key.")

0 commit comments

Comments
 (0)