Make the TriggeredByImage field ObjectReference
@@ -391,8 +391,8 @@ type BuildRequest struct {
// Revision is the information from the source for a specific repo snapshot.
Revision *SourceRevision `json:"revision,omitempty"`
- // TriggeredByImage is the image name that triggered this build.
- TriggeredByImage string `json:"triggedByImage,omitempty"`
+ // TriggeredByImage is the Image that triggered this build.
+ TriggeredByImage *kapi.ObjectReference `json:"triggeredByImage,omitempty"`
}
// BuildLogOptions is the REST options for a build log
