Skip to content

Commit

Permalink
remove unnecessary fmt.Sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
avinassh committed Sep 27, 2023
1 parent c38e095 commit 7d2f75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/turso/databases.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (d *DatabasesClient) Seed(name string, dbFile *os.File) error {
}

func (d *DatabasesClient) UploadDump(dbFile *os.File) (string, error) {
url := d.URL(fmt.Sprintf("/dumps"))
url := d.URL("/dumps")
res, err := d.client.Upload(url, dbFile)
if err != nil {
return "", fmt.Errorf("failed to upload the dump file: %w", err)
Expand Down

0 comments on commit 7d2f75e

Please sign in to comment.