File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pkg/asset/installconfig/powervs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -663,7 +663,7 @@ func (c *Client) ListServiceInstances(ctx context.Context) ([]string, error) {
663663 continue
664664 }
665665
666- if resourceInstance .Type != nil && * resourceInstance .Type == "service_instance" {
666+ if resourceInstance .Type != nil && ( * resourceInstance .Type == "service_instance" || * resourceInstance . Type == "composite_instance" ) {
667667 serviceInstances = append (serviceInstances , fmt .Sprintf ("%s %s" , * resource .Name , * resource .GUID ))
668668 }
669669 }
@@ -738,7 +738,7 @@ func (c *Client) ServiceInstanceGUIDToName(ctx context.Context, id string) (stri
738738 continue
739739 }
740740
741- if resourceInstance .Type != nil && * resourceInstance .Type == "service_instance" {
741+ if resourceInstance .Type != nil && ( * resourceInstance .Type == "service_instance" || * resourceInstance . Type == "composite_instance" ) {
742742 if resourceInstance .GUID != nil && * resourceInstance .GUID == id {
743743 if resourceInstance .Name == nil {
744744 return "" , nil
You can’t perform that action at this time.
0 commit comments