Skip to content

Commit

Permalink
make ping simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
jpicht committed Mar 16, 2022
1 parent 11c5fdf commit f373980
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions actions/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import (
)

func Ping(ctx context.Context, client *azblob.ServiceClient) {
_, err := client.GetAccountInfo(ctx)
if err != nil {
os.Exit(1)
}

// we only get here, if client setup was successful
os.Exit(0)
}

0 comments on commit f373980

Please sign in to comment.