Skip to content

Commit

Permalink
Merge pull request #7 from tecbiz-ch/fix_recoverypoints
Browse files Browse the repository at this point in the history
use correct recoverypointpath
  • Loading branch information
simonfuhrer authored Jun 21, 2020
2 parents 11329d2 + 95fee3a commit 0f5117e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm_recovery_point.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (c *VMRecoveryPointClient) All(ctx context.Context) (*schema.VMRecoveryPoin
// Create creates a VMRecoveryPoint
func (c *VMRecoveryPointClient) Create(ctx context.Context, createRequest *schema.VMRecoveryPointRequest) (*schema.VMRecoveryPointIntent, error) {
response := new(schema.VMRecoveryPointIntent)
err := c.client.requestHelper(ctx, subnetBasePath, http.MethodPost, createRequest, response)
err := c.client.requestHelper(ctx, vmRecoveryPointBasePath, http.MethodPost, createRequest, response)
return response, err
}

Expand Down

0 comments on commit 0f5117e

Please sign in to comment.