File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
data/extension/init/templates/tinygo
envoy.filters.http/default
envoy.filters.network/default Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ENVOY=ISTIO`
2222
2323 // Call OnPluginStart -> the metric is initialized.
2424 status := host .StartPlugin ()
25- // Check the status returned by OnNewConnection is ActionContinue .
25+ // Check the status returned by OnPluginStart is OK .
2626 require .Equal (t , types .OnPluginStartStatusOK , status )
2727
2828 // Create http context.
Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ func TestNetworkFilter_counter(t *testing.T) {
4040 defer host .Done ()
4141
4242 // Initialize the plugin and metric.
43- host .StartPlugin ()
43+ status := host .StartPlugin ()
44+ // Check the status returned by OnPluginStart is OK.
45+ require .Equal (t , types .OnPluginStartStatusOK , status )
4446
4547 // Establish the connection.
4648 contextID , action := host .InitializeConnection ()
You can’t perform that action at this time.
0 commit comments