Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Mar 11, 2024
1 parent 7ec484b commit 60721be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ import (
)

type MemoryMetadata struct {
exists bool
size int64
etag string
exists bool
size int64
etag string
contentMD5 string
}

func (m MemoryMetadata) ContentMD5() string {
return m.contentMD5
}

func (m MemoryMetadata) Size() int64 {
Expand Down
6 changes: 2 additions & 4 deletions flytestdlib/storage/stow_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ import (
"github.com/flyteorg/stow/swift"
)

const (
FailureTypeLabel contextutils.Key = "failure_type"
FlyteContentMD5 = "flyteContentMD5"
)
const FailureTypeLabel contextutils.Key = "failure_type"
const FlyteContentMD5 = "flyteContentMD5"

var fQNFn = map[string]func(string) DataReference{
s3.Kind: func(bucket string) DataReference {
Expand Down

0 comments on commit 60721be

Please sign in to comment.