mirror of
https://github.com/kubevela/kubevela.git
synced 2026-08-27 16:17:34 +00:00
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:
co-authored by
Reeta Singh
parent
65402bd926
commit
579f7427fa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user