Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Commit

Permalink
OnAir -> Enable
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyu.zx committed Aug 29, 2021
1 parent 8488bf8 commit 6088922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/config/api_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func (r *Resource) UnmarshalYAML(unmarshal func(interface{}) error) error {
type Method struct {
ID int `json:"id,omitempty" yaml:"id,omitempty"`
ResourcePath string `json:"resourcePath" yaml:"resourcePath"`
OnAir bool `json:"onAir" yaml:"onAir"` // true means the method is up and false means method is down
Enable bool `json:"enable" yaml:"enable"` // true means the method is up and false means method is down
Timeout time.Duration `json:"timeout" yaml:"timeout"`
Mock bool `json:"mock" yaml:"mock"`
Filters []string `json:"filters" yaml:"filters"`
Expand Down

0 comments on commit 6088922

Please sign in to comment.