From 342375fe72cbbb98ea139abf75aa7b2879c3a796 Mon Sep 17 00:00:00 2001 From: Tobias Bossert Date: Fri, 24 Mar 2023 15:08:09 +0100 Subject: [PATCH] fixed function signature of sort_table_data Signed-off-by: Tobias Bossert --- lib/WGwrangler/Model/WireguardDataAdapter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WGwrangler/Model/WireguardDataAdapter.pm b/lib/WGwrangler/Model/WireguardDataAdapter.pm index 0cfe3cf4..8257c09b 100644 --- a/lib/WGwrangler/Model/WireguardDataAdapter.pm +++ b/lib/WGwrangler/Model/WireguardDataAdapter.pm @@ -250,7 +250,7 @@ sub commit_changes ($self, $ref_integrity_hashes) { $self->apply_config() if $self->is_hot_config; } -sub sort_table_data ($self, $data, $key, $order) { +sub sort_table_data ($self, $data, $key, $order, $data_type) { my @keys_to_sort = map {$_->{$key}} @{$data}; my @sorted_indexes; if (defined $order) {