From 2e1dc8deef4d3ef8b328d67bc72adb0270d24191 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Thu, 12 Jun 2025 18:34:32 +0200 Subject: [PATCH] Fix Typos in Comments and Error Messages (#5637) * Update initializers.go Signed-off-by: kilavvy <140459108+kilavvy@users.noreply.github.com> * Update base.go Signed-off-by: kilavvy <140459108+kilavvy@users.noreply.github.com> --------- Signed-off-by: kilavvy <140459108+kilavvy@users.noreply.github.com> --- pkg/grpc/base/base.go | 2 +- pkg/model/initializers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/grpc/base/base.go b/pkg/grpc/base/base.go index a992f6d8..40a775cb 100644 --- a/pkg/grpc/base/base.go +++ b/pkg/grpc/base/base.go @@ -1,6 +1,6 @@ package base -// This is a wrapper to statisfy the GRPC service interface +// This is a wrapper to satisfy the GRPC service interface // It is meant to be used by the main executable that is the server for the specific backend type (falcon, gpt3, etc) import ( "fmt" diff --git a/pkg/model/initializers.go b/pkg/model/initializers.go index a0d0d5fc..cf24668c 100644 --- a/pkg/model/initializers.go +++ b/pkg/model/initializers.go @@ -332,7 +332,7 @@ func (ml *ModelLoader) grpcModel(backend string, autodetect bool, o *Options) fu } else { grpcProcess := backendPath(o.assetDir, backend) if err := utils.VerifyPath(grpcProcess, o.assetDir); err != nil { - return nil, fmt.Errorf("refering to a backend not in asset dir: %s", err.Error()) + return nil, fmt.Errorf("referring to a backend not in asset dir: %s", err.Error()) } if autodetect {