From 579f7427fa9fbe4ce22cc9af194bdddc9718ae08 Mon Sep 17 00:00:00 2001 From: Reeta Singh Date: Wed, 8 Sep 2021 00:02:50 -0700 Subject: [PATCH] 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 --- references/plugins/references.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/references/plugins/references.go b/references/plugins/references.go index ef15b1b5d..741bab9bb 100644 --- a/references/plugins/references.go +++ b/references/plugins/references.go @@ -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