Skip to content

Commit

Permalink
remove duplicate method
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinye202 committed Nov 21, 2024
1 parent 85be737 commit 3add114
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions pkg/blobstore/configuration/cas_blob_access_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ func (bac *casBlobAccessCreator) GetReadBufferFactory() blobstore.ReadBufferFact
return blobstore.CASReadBufferFactory
}

func (bac *casBlobAccessCreator) GetStorageTypeName() string {
return "cas"
}

func (bac *casBlobAccessCreator) GetDefaultCapabilitiesProvider() capabilities.Provider {
return casCapabilitiesProvider
}
Expand Down
4 changes: 0 additions & 4 deletions pkg/blobstore/configuration/icas_blob_access_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ func (bac *icasBlobAccessCreator) GetReadBufferFactory() blobstore.ReadBufferFac
return blobstore.ICASReadBufferFactory
}

func (bac *icasBlobAccessCreator) GetStorageTypeName() string {
return "icas"
}

func (bac *icasBlobAccessCreator) GetDefaultCapabilitiesProvider() capabilities.Provider {
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/blobstore/replication/metrics_blob_replicator.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/buildbarn/bb-storage/pkg/digest"
"github.com/buildbarn/bb-storage/pkg/util"
"github.com/prometheus/client_golang/prometheus"

"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
Expand Down

0 comments on commit 3add114

Please sign in to comment.