We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c0c741 commit 924a896Copy full SHA for 924a896
clients/instance/ibm-pi-snapshot.go
@@ -82,7 +82,7 @@ func (f *IBMPISnapshotClient) GetAll() (*models.Snapshots, error) {
82
}
83
84
// Restore a Snapshot
85
-func (f *IBMPISnapshotClient) Restore(instanceID, snapshotID, restoreFailAction string, body *models.SnapshotRestore) (*models.Snapshot, error) {
+func (f *IBMPISnapshotClient) Create(instanceID, snapshotID, restoreFailAction string, body *models.SnapshotRestore) (*models.Snapshot, error) {
86
params := p_cloud_p_vm_instances.NewPcloudPvminstancesSnapshotsRestorePostParams().
87
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).
88
WithCloudInstanceID(f.cloudInstanceID).WithPvmInstanceID(instanceID).
0 commit comments