Skip to content

Commit

Permalink
Fix CLI operations that involve workspace-name
Browse files Browse the repository at this point in the history
  • Loading branch information
kishen-v committed Sep 11, 2024
1 parent aef6cda commit 1a61675
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions pkg/client/pvmclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,16 +95,16 @@ func NewPVMClient(c *Client, instanceID, instanceName string, ep map[string]stri
return nil, err
}

pvmclient.DatacenterClient = datacenter.NewClient(pvmclient.PISession, instanceID)
pvmclient.DHCPClient = dhcp.NewClient(pvmclient.PISession, instanceID)
pvmclient.EventsClient = events.NewClient(pvmclient.PISession, instanceID)
pvmclient.ImgClient = image.NewClient(pvmclient.PISession, instanceID)
pvmclient.InstanceClient = instance.NewClient(pvmclient.PISession, instanceID)
pvmclient.JobClient = job.NewClient(pvmclient.PISession, instanceID)
pvmclient.KeyClient = key.NewClient(pvmclient.PISession, instanceID)
pvmclient.NetworkClient = network.NewClient(pvmclient.PISession, instanceID)
pvmclient.DatacenterClient = datacenter.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.DHCPClient = dhcp.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.EventsClient = events.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.ImgClient = image.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.InstanceClient = instance.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.JobClient = job.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.KeyClient = key.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.NetworkClient = network.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.StorageTierClient = storagetier.NewClient(pvmclient.PISession, pvmclient.InstanceID)
pvmclient.VolumeClient = volume.NewClient(pvmclient.PISession, instanceID)
pvmclient.VolumeClient = volume.NewClient(pvmclient.PISession, pvmclient.InstanceID)
return pvmclient, nil
}

Expand Down

0 comments on commit 1a61675

Please sign in to comment.