Skip to content

Commit

Permalink
Merge pull request #48 from surajsub/master
Browse files Browse the repository at this point in the history
Updated the Clone Volumes Client with timeout
  • Loading branch information
surajsub authored Jul 14, 2020
2 parents a8fa079 + 10debdf commit 28789f9
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 28789f9

Please sign in to comment.