Skip to content

Commit

Permalink
Updated the Clone Volumes Client with timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
surajibm committed Jul 14, 2020
1 parent 2d42ee0 commit 10debdf
Show file tree
Hide file tree
Showing 12 changed files with 1,155 additions and 1 deletion.
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-clonevolumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func NewIBMPICloneVolumeClient(sess *ibmpisession.IBMPISession, powerinstanceid
//Create a clone volume
func (f *IBMPICloneVolumeClient) Create(clone_params *p_cloud_volumes.PcloudVolumesClonePostParams, id, powerinstanceid string, timeout time.Duration) (*models.VolumesCloneResponse, error) {

log.Printf("Calling the CloneVolume Create Method..", timeout)
log.Printf("Calling the CloneVolume Create Method with provided time out value of [%f]", timeout.Minutes())
log.Printf("The input clone name is %s and to the cloudinstance id %s", id, powerinstanceid)
params := p_cloud_volumes.NewPcloudVolumesClonePostParamsWithTimeout(timeout).WithCloudInstanceID(powerinstanceid).WithBody(clone_params.Body)

Expand Down
28 changes: 28 additions & 0 deletions power/client/iaas_service_broker/iaas_service_broker_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 10debdf

Please sign in to comment.