Skip to content

Commit

Permalink
Fixed interop types naming
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianriobo committed May 24, 2021
1 parent 4f2ebd4 commit a08fc98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/event/interop/ocp/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ocp

type BuildComplete struct {
Artifact Artifact `json:"artififact"`
Artifact Artifact `json:"artifact"`
Contact Contact `json:"contact"`
GenerateAt string `json:"generated_at"`
System []System `json:"system"`
Expand All @@ -11,7 +11,7 @@ type BuildComplete struct {
type TestComplete struct {
Contact Contact `json:"contact"`
Run Run `json:"run"`
Artifact Artifact `json:"artififact"`
Artifact Artifact `json:"artifact"`
Test Test `json:"test"`
GenerateAt string `json:"generated_at"`
System []System `json:"system"`
Expand All @@ -21,7 +21,7 @@ type TestComplete struct {
type TestError struct {
Contact Contact `json:"contact"`
Run Run `json:"run"`
Artifact Artifact `json:"artififact"`
Artifact Artifact `json:"artifact"`
Test Test `json:"test"`
Error Error `json:"error"`
GenerateAt string `json:"generated_at"`
Expand Down Expand Up @@ -56,7 +56,7 @@ type Product struct {
External_build_index_url string `json:"external_build_index_url"`
ProductType string `json:"type"`
State string `json:"state"`
Artifacts []interface{} `json:"artifcats"`
Artifacts []interface{} `json:"artifacts"`
Phase string `json:"phase"`
Release string `json:"release"`
}
Expand Down

0 comments on commit a08fc98

Please sign in to comment.