Skip to content

Commit

Permalink
feat: change Ui field as UI
Browse files Browse the repository at this point in the history
Signed-off-by: krrrr38 <[email protected]>
  • Loading branch information
krrrr38 committed Dec 14, 2021
1 parent 12bfc01 commit 2aaf743
Show file tree
Hide file tree
Showing 20 changed files with 188 additions and 188 deletions.
6 changes: 3 additions & 3 deletions api/jsonschema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5449,7 +5449,7 @@
"type": "string"
},
"ui": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Ui"
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UI"
}
},
"type": "object"
Expand Down Expand Up @@ -6865,8 +6865,8 @@
],
"type": "object"
},
"io.argoproj.workflow.v1alpha1.Ui": {
"description": "Ui defines a config for UI",
"io.argoproj.workflow.v1alpha1.UI": {
"description": "UI defines a config for UI",
"properties": {
"navColor": {
"description": "NavColor is an ui navigation bar theme which switch the design",
Expand Down
6 changes: 3 additions & 3 deletions api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9712,7 +9712,7 @@
"type": "string"
},
"ui": {
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.Ui"
"$ref": "#/definitions/io.argoproj.workflow.v1alpha1.UI"
}
}
},
Expand Down Expand Up @@ -11127,8 +11127,8 @@
}
}
},
"io.argoproj.workflow.v1alpha1.Ui": {
"description": "Ui defines a config for UI",
"io.argoproj.workflow.v1alpha1.UI": {
"description": "UI defines a config for UI",
"type": "object",
"properties": {
"navColor": {
Expand Down
4 changes: 2 additions & 2 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ type Config struct {
// https://argoproj.github.io/argo-workflows/workflow-executors/#emissary-emissary
Images map[string]Image `json:"images,omitempty"`

// Ui defines a config for UI
Ui *wfv1.Ui `json:"ui,omitempty"`
// UI defines a config for UI
UI *wfv1.UI `json:"ui,omitempty"`
}

func (c Config) GetContainerRuntimeExecutor(labels labels.Labels) (string, error) {
Expand Down
38 changes: 19 additions & 19 deletions pkg/apiclient/info/info.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/apiclient/info/info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ message GetInfoRequest {
message InfoResponse {
string managedNamespace = 1;
repeated github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.Link links = 2;
github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.Ui ui = 3;
github.com.argoproj.argo_workflows.v3.pkg.apis.workflow.v1alpha1.UI ui = 3;
}

message GetVersionRequest {
Expand Down
Loading

0 comments on commit 2aaf743

Please sign in to comment.