Skip to content

Commit

Permalink
fix: add json tag for url field in ReleaseResource (#4177) (#4178)
Browse files Browse the repository at this point in the history
Co-authored-by: CMC <49681321+CraigMChen@users.noreply.github.com>
  • Loading branch information
erda-bot and CraigMChen authored Feb 28, 2022
1 parent 54c0241 commit 36184eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/proto-go/core/dicehub/release/pb/release.pb.go

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

2 changes: 1 addition & 1 deletion api/proto/core/dicehub/release/release.proto
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ message ReleaseResource {
// URL 资源URL, 可直接wget获取到资源, 选填(当type为diceyml, 资源作为release的dice字段在mysql存储)

// URL resources URL, can get by wget
string URL = 3;
string URL = 3 [json_name = "url"];

map<string, google.protobuf.Value> meta = 4;
}
Expand Down

0 comments on commit 36184eb

Please # to comment.