Skip to content

Commit

Permalink
fixed function signature of sort_table_data
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Bossert <[email protected]>
  • Loading branch information
sirtoobii committed Mar 24, 2023
1 parent 689f08f commit 342375f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WGwrangler/Model/WireguardDataAdapter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 342375f

Please sign in to comment.