Chromium Code Reviews| Index: milo/api/resp/build.go |
| diff --git a/milo/api/resp/build.go b/milo/api/resp/build.go |
| index a78476b6a1157bb650ec85b527ef98638da27fd4..42d035ed9809e4d90a41e2f78bfcc322465ef6f9 100644 |
| --- a/milo/api/resp/build.go |
| +++ b/milo/api/resp/build.go |
| @@ -47,7 +47,7 @@ type SourceStamp struct { |
| Source string |
| } |
| -// Property specifies the source of the property. k/v pair representing some |
| +// Property specifies k/v pair representing some |
| // sort of property, such as buildbot property, quest property, etc. |
| type Property struct { |
| Key string |
| @@ -218,6 +218,9 @@ type BuildComponent struct { |
| // Bot is the machine or execution instance that this component ran on. |
| Bot *Link |
| + // Recipe is a link to the recipe this component is based on. |
| + Recipe *Link |
|
nodir
2017/03/01 23:25:04
add `json:,omitempty` to avoid all those `"Recipe"
hinoka
2017/03/02 03:44:40
Done.
|
| + |
| // Source is a link to the external (buildbot, swarming, dm, etc) data |
| // source that this component relates to. |
| Source *Link |