Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion api/appbean/AppDetail.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ type DeploymentTemplate struct {
ShowAppMetrics bool `json:"showAppMetrics"`
IsOverride bool `json:"isOverride"`
IsBasicViewLocked bool `json:"isBasicViewLocked"`
CurrentViewEditor models.ChartsViewEditorType `json:"currentViewEditor" validate:"required"`
CurrentViewEditor models.ChartsViewEditorType `json:"currentViewEditor"` //default "UNDEFINED" in db
}

type AppWorkflow struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/chart/ChartService.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ type TemplateRequest struct {
Schema json.RawMessage `json:"schema"`
Readme string `json:"readme"`
IsBasicViewLocked bool `json:"isBasicViewLocked"`
CurrentViewEditor models.ChartsViewEditorType `json:"currentViewEditor" validate:"required"`
CurrentViewEditor models.ChartsViewEditorType `json:"currentViewEditor"` //default "UNDEFINED" in db
UserId int32 `json:"-"`
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/pipeline/PropertiesConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ type EnvironmentProperties struct {
ChartRefId int `json:"chartRefId,omitempty" validate:"number"`
IsOverride bool `sql:"isOverride"`
IsBasicViewLocked bool `json:"isBasicViewLocked"`
CurrentViewEditor models.ChartsViewEditorType `json:"currentViewEditor" validate:"required"`
CurrentViewEditor models.ChartsViewEditorType `json:"currentViewEditor"` //default "UNDEFINED" in db
}

type EnvironmentPropertiesResponse struct {
Expand Down