Skip to content

Commit c868d43

Browse files
committed
more
Signed-off-by: Takeshi Yoneda <[email protected]>
1 parent 0dfa321 commit c868d43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ build: ## Build all binaries under cmd/ directory.
273273
# This builds the dynamic module filter for Envoy. This is the shared library that can be loaded by Envoy to run the AI Gateway filter.
274274
.PHONE: build-dm
275275
build-dm: ## Build the dynamic module for Envoy.
276-
CGO_ENABLED=1 go build -tags "envoy_1.36" -buildmode=c-shared -o $(OUTPUT_DIR)/libaigateway.so ./internal/dynamic_module
276+
CGO_ENABLED=1 go build -tags "envoy_1.36" -buildmode=c-shared -o $(OUTPUT_DIR)/libaigateway.so ./cmd/dynamic_module
277277

278278
# This builds the docker images for the controller, extproc and testupstream for the e2e tests.
279279
.PHONY: build-e2e

cmd/dynamic_module/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ func init() {
3737
sdk.NewHTTPFilterConfig = g.newHTTPFilterConfig
3838
}
3939

40-
// filterConfigReceiverImpl implements [filterapi.ConfigReceiver] to load filter configuration.
40+
// globalState implements [filterapi.ConfigReceiver] to load filter configuration.
4141
type globalState struct {
4242
fc *filterapi.RuntimeConfig
4343
env *dynamic_module.Env
4444
}
4545

46-
// newHTTPFilter creates a new http filter based on the config.
46+
// newHTTPFilterConfig creates a new http filter based on the config.
4747
//
4848
// `config` is the configuration string that is specified in the Envoy configuration.
4949
func (g *globalState) newHTTPFilterConfig(name string, _ []byte) sdk.HTTPFilterConfig {

0 commit comments

Comments
 (0)