Skip to content

Commit

Permalink
Merge pull request #41 from permitio/oded/per-9905-fix-typo-in-resour…
Browse files Browse the repository at this point in the history
…ce-instance-in-golang-sdk

fix typo in resource instances
  • Loading branch information
obsd authored May 16, 2024
2 parents d2daaa9 + 655c477 commit fefe907
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/api/resourceInstances.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (r *ResourceInstances) Delete(
return err
}

httpRes, err := r.client.ResouceInstances.DeleteResourceInstance(ctx,
httpRes, err := r.client.ResourceInstances.DeleteResourceInstance(ctx,
r.config.Context.GetProject(),
r.config.Context.GetEnvironment(),
instanceId,
Expand All @@ -94,7 +94,7 @@ func (r *ResourceInstances) Get(
return nil, err
}

retrieved, httpRes, err := r.client.ResouceInstances.GetResourceInstance(ctx,
retrieved, httpRes, err := r.client.ResourceInstances.GetResourceInstance(ctx,
r.config.Context.GetProject(),
r.config.Context.GetEnvironment(),
instanceId,
Expand Down
3 changes: 1 addition & 2 deletions pkg/openapi/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fefe907

Please sign in to comment.