diff --git a/chaoscenter/graphql/server/pkg/chaos_experiment/types.go b/chaoscenter/graphql/server/pkg/chaos_experiment/types.go index c83d84fc52a..9becb48f6fe 100644 --- a/chaoscenter/graphql/server/pkg/chaos_experiment/types.go +++ b/chaoscenter/graphql/server/pkg/chaos_experiment/types.go @@ -39,7 +39,7 @@ type Node struct { FinishedAt string `json:"finishedAt"` Children []string `json:"children"` Type string `json:"type"` - ChaosExp *ChaosData `json:"chaos_data,omitempty"` + ChaosExp *ChaosData `json:"chaosData,omitempty"` } // ChaosData is the data we get from chaos exporter diff --git a/chaoscenter/subscriber/pkg/types/event.go b/chaoscenter/subscriber/pkg/types/event.go index f2e450a4a84..a376ec52bf5 100644 --- a/chaoscenter/subscriber/pkg/types/event.go +++ b/chaoscenter/subscriber/pkg/types/event.go @@ -30,7 +30,7 @@ type Node struct { FinishedAt string `json:"finishedAt"` Children []string `json:"children"` Type string `json:"type"` - ChaosExp *ChaosData `json:"chaos_data,omitempty"` + ChaosExp *ChaosData `json:"chaosData,omitempty"` } // chaos data