Skip to content

Commit

Permalink
style: ch PieceStorageList to be PieceStorageInfos (#5030)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao authored Jul 5, 2022
1 parent ca52e7c commit 2465203
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion venus-shared/api/market/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,5 @@ type IMarket interface {

RemovePieceStorage(ctx context.Context, name string) error //perm:admin

GetPieceStorages(ctx context.Context) market.PieceStorageList //perm:read
GetPieceStorages(ctx context.Context) market.PieceStorageInfos //perm:read
}
4 changes: 2 additions & 2 deletions venus-shared/api/market/mock/mock_imarket.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions venus-shared/api/market/proxy_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion venus-shared/types/market/piecestorage.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package market

type PieceStorageList struct {
type PieceStorageInfos struct {
FsStorage []FsStorage
S3Storage []S3Storage
}
Expand Down

0 comments on commit 2465203

Please sign in to comment.