Skip to content

Commit

Permalink
Merge pull request #575 from 0xff-dev/fix-func-call
Browse files Browse the repository at this point in the history
chore: fix function call errors
  • Loading branch information
bjwswang authored Jan 18, 2024
2 parents 517d75b + f26d48b commit 7ea531f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/arctl/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ arctl -narcadia eval --rag=<rag-name>
ragName, _ := cmd.Flags().GetString("rag")
rag := evalv1alpha1.RAG{}
gv := evalv1alpha1.GroupVersion.String()
u, err := common.ResouceGet(cmd.Context(), kubeClient, generated.TypedObjectReferenceInput{
u, err := common.ResourceGet(cmd.Context(), kubeClient, generated.TypedObjectReferenceInput{
APIGroup: &gv,
Kind: "RAG",
Name: ragName,
Expand Down Expand Up @@ -227,7 +227,7 @@ func parseOptions(
ctx context.Context,
kubeClient dynamic.Interface,
datasourceName, datasourceNamespace string) []downloadutil.DownloadOptionFunc {
obj, err := common.ResouceGet(ctx, kubeClient, generated.TypedObjectReferenceInput{
obj, err := common.ResourceGet(ctx, kubeClient, generated.TypedObjectReferenceInput{
APIGroup: &common.ArcadiaAPIGroup,
Kind: "Datasource",
Namespace: &datasourceNamespace,
Expand Down Expand Up @@ -259,7 +259,7 @@ func parseOptions(
}
apiGroup := "v1"

obj, err := common.ResouceGet(ctx, kubeClient, generated.TypedObjectReferenceInput{
obj, err := common.ResourceGet(ctx, kubeClient, generated.TypedObjectReferenceInput{
APIGroup: &apiGroup,
Kind: "Secret",
Namespace: &ns,
Expand Down

0 comments on commit 7ea531f

Please sign in to comment.