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 c87e2fb commit efb959c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/executor/ai/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
_ "embed"
"encoding/json"
"fmt"
"github.com/kubeshop/botkube-cloud-plugins/internal/auth"

Check failure on line 9 in cmd/executor/ai/main.go

View workflow job for this annotation

GitHub Actions / Lint code

File is not `goimports`-ed (goimports)
"io"
"net/http"
"strings"
Expand Down Expand Up @@ -131,9 +132,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 efb959c

Please sign in to comment.