Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tags of hander.Faults and handler.Spec structs #4929

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chaoscenter/graphql/server/pkg/chaoshub/handler/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ type Link struct {

type Faults struct {
Name string `yaml:"name" json:"name"`
DisplayName string `json:"displayName" json:"displayName"`
DisplayName string `yaml:"displayName" json:"displayName"`
Description string `yaml:"description" json:"description"`
Plan []string `json:"plan" json:"plan"`
Plan []string `yaml:"plan" json:"plan"`
}

type Metadata struct {
Expand All @@ -43,7 +43,7 @@ type Annotation struct {
type Spec struct {
DisplayName string `yaml:"displayName" json:"displayName"`
CategoryDescription string `yaml:"categoryDescription" json:"categoryDescription"`
Plan []string `json:"plan" json:"plan"`
Plan []string `yaml:"plan" json:"plan"`
Keywords []string `yaml:"keywords" json:"keywords"`
Maturity string `yaml:"maturity" json:"maturity,omitempty"`
Maintainers []Maintainer `yaml:"maintainers" json:"maintainers,omitempty"`
Expand Down
Loading