Skip to content

Commit 5da6dc7

Browse files
committed
cleanup
Signed-off-by: Gal Ovadia <ggalovadia@gmail.com>
1 parent e6e5428 commit 5da6dc7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

rust/src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,13 @@ pub mod egress_policies;
7272
///
7373
/// Returning `false` will cause Envoy to reject the config hence the
7474
/// filter will not be loaded.
75-
fn program_init() -> bool {
76-
envoy_log_info!("Rust dynamic module initialized");
75+
fn init() -> bool {
7776
true
7877
}
7978

8079
// Register all filter types
8180
declare_all_init_functions!(
82-
program_init,
81+
init,
8382
http: new_http_filter_config_fn,
8483
network: new_network_filter_config_fn,
8584
udp_listener: new_udp_listener_filter_config_fn,

0 commit comments

Comments
 (0)