Skip to content

Commit

Permalink
fix go vet warning on example name
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuchard committed Aug 21, 2024
1 parent 43738af commit beb0eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/mschuchard/vault-raft-backup/util"
)

func ExampleMain() {
// test that main behaves as expected before snapshot as raft not supported with vault server
func Example() {
// test that main behaves as expected before snapshot as raft not supported with vault dev mode server
os.Setenv("VAULT_TOKEN", util.VaultToken)
os.Setenv("S3_BUCKET", "bucket")

Expand Down

0 comments on commit beb0eca

Please sign in to comment.