From 3f88fa1040038df2c3f845f39b0c66655b2d54f4 Mon Sep 17 00:00:00 2001 From: Flynn Date: Tue, 13 Jul 2021 12:11:37 -0400 Subject: [PATCH] Basic Ambex visibility: save a certain number of Ambex snapshots to disk for debugging Signed-off-by: Flynn Signed-off-by: Luke Shumaker --- cmd/ambex/main.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/ambex/main.go b/cmd/ambex/main.go index 880db68e4a..ebd6d0b0ba 100644 --- a/cmd/ambex/main.go +++ b/cmd/ambex/main.go @@ -73,8 +73,9 @@ import ( v3server "github.com/datawire/ambassador/v2/pkg/envoy-control-plane/server/v3" "github.com/datawire/ambassador/v2/pkg/memory" - // envoy protobuf v2 -- Be sure to import the package of any types that the Python emits a - // "@type" of in the generated config, even if that package is otherwise not used by ambex. + // Envoy API v2 + // Be sure to import the package of any types that're referenced with "@type" in our + // generated Envoy config, even if that package is otherwise not used by ambex. v2 "github.com/datawire/ambassador/v2/pkg/api/envoy/api/v2" _ "github.com/datawire/ambassador/v2/pkg/api/envoy/api/v2/auth" v2core "github.com/datawire/ambassador/v2/pkg/api/envoy/api/v2/core"