File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,6 +244,10 @@ func (c *Cloud) GetResource() model.Resource {
244244 cResource = c .getKubernetesData ()
245245 }
246246 if ! cResource .Verified {
247+ if c .basicInfo .Type == common .KUBERNETES {
248+ cResource = c .appendResourceProcess (cResource )
249+ return cResource
250+ }
247251 return model.Resource {
248252 ErrorState : cResource .ErrorState ,
249253 ErrorMessage : cResource .ErrorMessage ,
@@ -700,12 +704,15 @@ func (c *Cloud) appendResourceProcess(resource model.Resource) model.Resource {
700704 StartTime : sProcess .StartTime ,
701705 OSAPPTags : sProcess .OSAPPTags ,
702706 }
703- if resource .Verified && lcuuid == "" {
707+ if ( resource .Verified || c . basicInfo . Type == common . KUBERNETES ) && lcuuid == "" {
704708 resource .Processes = append (resource .Processes , process )
705709 continue
706710 }
707711 subDomainResource , ok := resource .SubDomainResources [lcuuid ]
708712 if ! ok || ! subDomainResource .Verified {
713+ if c .basicInfo .Type == common .KUBERNETES {
714+ resource .Processes = append (resource .Processes , process )
715+ }
709716 continue
710717 }
711718 process .SubDomainLcuuid = lcuuid
You can’t perform that action at this time.
0 commit comments