commit | 75deae78d460cbee5fc39ac36a450536678ee100 | [log] [tgz] |
---|---|---|
author | Kendal Harland <kjharland@google.com> | Thu Dec 20 14:47:48 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Dec 28 19:10:13 2018 +0000 |
tree | 295e91f8f8fe5a7245905de57825ef2e5b13e536 | |
parent | 9c2befb7967fc3ea1213c8684247561eb9dce59b [diff] |
[tilo][entity] Create entity ID structs An entity's ID-related fields are not necessary when sending RPCs to update the entity (as opposed to create or finish), only its name is required. Including the entity's ID causes an error if the value doesn't match the ID that is set on the request by resultstore/service.go. These values *should* always be the same, but since they're allowed to be empty we'll leave them empty since that's easier. Adding structs to hold the IDs makes it easier to check whether the IDs are set or unset, and pass a nil value when necessary. IN-699 #comment Change-Id: I024676e21e691d167cb17e82cfebf6347c3b08f7
This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.
In order to build the Go code, you must clone this repo into an appropriately named directory. This should do the trick:
REPO=fuchsia.googlesource.com/infra/infra git clone https://${REPO} $(go env GOPATH)/src/${REPO}