Skip to content

Commit 924a896

Browse files
committed
Undo name change
1 parent 5c0c741 commit 924a896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/instance/ibm-pi-snapshot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (f *IBMPISnapshotClient) GetAll() (*models.Snapshots, error) {
8282
}
8383

8484
// Restore a Snapshot
85-
func (f *IBMPISnapshotClient) Restore(instanceID, snapshotID, restoreFailAction string, body *models.SnapshotRestore) (*models.Snapshot, error) {
85+
func (f *IBMPISnapshotClient) Create(instanceID, snapshotID, restoreFailAction string, body *models.SnapshotRestore) (*models.Snapshot, error) {
8686
params := p_cloud_p_vm_instances.NewPcloudPvminstancesSnapshotsRestorePostParams().
8787
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).
8888
WithCloudInstanceID(f.cloudInstanceID).WithPvmInstanceID(instanceID).

0 commit comments

Comments
 (0)