Skip to content

Commit

Permalink
Undo name change
Browse files Browse the repository at this point in the history
  • Loading branch information
ismirlia committed Feb 7, 2024
1 parent 5c0c741 commit 924a896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/instance/ibm-pi-snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (f *IBMPISnapshotClient) GetAll() (*models.Snapshots, error) {
}

// Restore a Snapshot
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) {
params := p_cloud_p_vm_instances.NewPcloudPvminstancesSnapshotsRestorePostParams().
WithContext(f.ctx).WithTimeout(helpers.PICreateTimeOut).
WithCloudInstanceID(f.cloudInstanceID).WithPvmInstanceID(instanceID).
Expand Down

0 comments on commit 924a896

Please sign in to comment.