fix: Add names to config properties for the UI (#4718)

This was reverted in the configuration PR, which broke the UI.
This commit is contained in:
Kyle Carberry
2022-10-24 14:37:37 +00:00
committed by GitHub
parent bf3224e373
commit c41bdc21cb
4 changed files with 56 additions and 5 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ type Flaggable interface {
}
type DeploymentConfigField[T Flaggable] struct {
Key string `json:"key"`
Key string `json:"key"`
// Name appears in the deployment UI.
Name string `json:"name"`
Usage string `json:"usage"`
Flag string `json:"flag"`