Skip to content

Commit

Permalink
fix: spelling fix (#577)
Browse files Browse the repository at this point in the history
* chore: rebasing

Signed-off-by: AlexsJones <[email protected]>

* fix: missing key for secret

Signed-off-by: AlexsJones <[email protected]>

* chore: spelling fix

Signed-off-by: AlexsJones <[email protected]>

---------

Signed-off-by: AlexsJones <[email protected]>
  • Loading branch information
AlexsJones authored Dec 12, 2024
1 parent 7f55b2a commit 83959b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/client/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
v1 "k8s.io/api/apps/v1"
)

func (c *Client) ProcessAnalysis(deployment v1.Deployment, config *v1alpha1.K8sGPT, allowAIRequest bool) (*common.K8sGPTReponse, error) {
func (c *Client) ProcessAnalysis(deployment v1.Deployment, config *v1alpha1.K8sGPT, allowAIRequest bool) (*common.K8sGPTResponse, error) {

client := rpc.NewServerAnalyzerServiceClient(c.conn)
req := &schemav1.AnalyzeRequest{
Expand Down Expand Up @@ -42,7 +42,7 @@ func (c *Client) ProcessAnalysis(deployment v1.Deployment, config *v1alpha1.K8sG
return nil, err
}

response := &common.K8sGPTReponse{
response := &common.K8sGPTResponse{
Status: res.Status,
Results: target,
Problems: int(res.Problems),
Expand Down
2 changes: 1 addition & 1 deletion pkg/common/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ package common

import "github.com/k8sgpt-ai/k8sgpt-operator/api/v1alpha1"

type K8sGPTReponse struct {
type K8sGPTResponse struct {
Status string `json:"status"`
Problems int `json:"problems"`
Results []v1alpha1.ResultSpec `json:"results"`
Expand Down

0 comments on commit 83959b2

Please sign in to comment.