Skip to content

Commit

Permalink
comment and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
nopcoder committed Aug 29, 2023
1 parent 20beb19 commit a82f8c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/api/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"time"

"github.com/aws/aws-sdk-go-v2/aws"

"github.com/davecgh/go-spew/spew"
"github.com/go-openapi/swag"
"github.com/gorilla/sessions"
Expand Down
3 changes: 2 additions & 1 deletion pkg/block/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ type Adapter interface {
Put(ctx context.Context, obj ObjectPointer, sizeBytes int64, reader io.Reader, opts PutOpts) error
Get(ctx context.Context, obj ObjectPointer, expectedSize int64) (io.ReadCloser, error)
GetWalker(uri *url.URL) (Walker, error)
// Returns a presigned URL for accessing obj with mode, and the

// GetPreSignedURL returns a pre-signed URL for accessing obj with mode, and the
// expiry time for this URL. The expiry time IsZero() if reporting
// expiry is not supported. The expiry time will be sooner than
// Config.*.PreSignedExpiry if an auth token is about to expire.
Expand Down

0 comments on commit a82f8c8

Please sign in to comment.