Feat: vela show annotations display undefined should be refined (#2244)

* Feat(trait): annotation and labels trait should also affect the workload object along with pod

* Feat(trait): annotation and labels trait should also affect the workload object along with pod

* Feat(trait): annotation and labels trait should also affect the workload object along with pod

* Feat(trait): annotation and labels trait should also affect the workload object along with pod

* Feat: vela show annotations display undefined should be refined

Co-authored-by: Reeta Singh <reetas@twitter.com>
This commit is contained in:
Reeta Singh
2021-09-08 15:02:50 +08:00
committed by GitHub
co-authored by Reeta Singh
parent 65402bd926
commit 579f7427fa
+1 -1
View File
@@ -540,7 +540,7 @@ func (ref *ParseReference) parseParameters(paraValue cue.Value, paramKey string,
}
if arguments.Len() == 0 {
var param ReferenceParameter
param.Name = "undefined"
param.Name = "-"
param.Required = true
tl := paraValue.Template()
if tl != nil { // is map type