Skip to content

Commit

Permalink
Revert protection
Browse files Browse the repository at this point in the history
  • Loading branch information
mszostok committed Mar 1, 2024
1 parent 907b788 commit 872b5d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/executor/ai/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"

"github.com/hashicorp/go-plugin"

"github.com/kubeshop/botkube-cloud-plugins/internal/auth"
aibrain "github.com/kubeshop/botkube-cloud-plugins/internal/source/ai-brain"
"github.com/kubeshop/botkube/pkg/api"
"github.com/kubeshop/botkube/pkg/api/executor"
Expand Down Expand Up @@ -131,9 +131,9 @@ func (*AIFace) Help(context.Context) (api.Message, error) {
func main() {
executor.Serve(map[string]plugin.Plugin{
pluginName: &executor.Plugin{
Executor: &AIFace{
Executor: auth.NewProtectedExecutor(&AIFace{
httpClient: httpx.NewHTTPClient(),
},
}),
},
})
}

0 comments on commit 872b5d5

Please sign in to comment.