fix: naming

Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu>
This commit is contained in:
Thomas Schuetz
2023-04-13 09:00:14 +02:00
parent 9157d4dd13
commit 159b3851ec
2 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ package serve
import (
"fmt"
"github.com/fatih/color"
server2 "github.com/k8sgpt-ai/k8sgpt/pkg/server"
k8sgptserver "github.com/k8sgpt-ai/k8sgpt/pkg/server"
"github.com/spf13/cobra"
"github.com/spf13/viper"
"os"
@@ -38,7 +38,7 @@ var ServeCmd = &cobra.Command{
os.Exit(1)
}
server := server2.K8sGPTServer{
server := k8sgptserver.Config{
Backend: backend,
Port: port,
Token: token,