Skip to content

Commit

Permalink
fix double import
Browse files Browse the repository at this point in the history
  • Loading branch information
jt-dd committed Aug 1, 2024
1 parent db96300 commit e9582c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cmd/kubehound/backend.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package main

import (
"github.com/DataDog/KubeHound/pkg/backend"
docker "github.com/DataDog/KubeHound/pkg/backend"
"github.com/spf13/cobra"
)
Expand All @@ -11,7 +10,7 @@ var (
hard bool
composePath []string

uiProfile = backend.DefaultUIProfile
uiProfile = docker.DefaultUIProfile
uiInvana bool
)

Expand Down
3 changes: 1 addition & 2 deletions cmd/kubehound/dumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"os"

"github.com/DataDog/KubeHound/pkg/backend"
docker "github.com/DataDog/KubeHound/pkg/backend"
"github.com/DataDog/KubeHound/pkg/cmd"
"github.com/DataDog/KubeHound/pkg/config"
Expand Down Expand Up @@ -92,7 +91,7 @@ var (
}

if startBackend {
err = docker.NewBackend(cobraCmd.Context(), composePath, backend.DefaultUIProfile)
err = docker.NewBackend(cobraCmd.Context(), composePath, docker.DefaultUIProfile)
if err != nil {
return fmt.Errorf("new backend: %w", err)
}
Expand Down

0 comments on commit e9582c2

Please sign in to comment.