Skip to content

Commit

Permalink
fix: return correct endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
l0wl3vel committed Feb 28, 2024
1 parent f8d30f3 commit 434fcd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/object/bunny.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package object

import (
"bytes"
"fmt"
"io"
"math"
"net/url"
Expand All @@ -37,7 +38,7 @@ type bunnyClient struct {

// Description of the object storage.
func (b *bunnyClient) String() string {
return b.endpoint
return fmt.Sprintf("bunny://%v", b.endpoint)
}

// Limits of the object storage.
Expand Down

0 comments on commit 434fcd5

Please sign in to comment.