MON-22340 - [Plugin] - fix(docker/local): fix cache name to prevent conflict (#4690)

thanks @cgagnaire : #4690
This commit is contained in:
Lucie Dubrunfaut 2023-10-09 11:39:58 +02:00 committed by GitHub
parent ac65fd0ddc
commit 48a1a1e7e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -232,7 +232,7 @@ sub manage_selection {
$self->{output}->option_exit();
}
$self->{cache_name} = 'docker_' . $self->{mode} . '_' .
$self->{cache_name} = 'docker_local_' . $self->{mode} . '_' . $self->{option_results}->{hostname} . '_' .
(defined($self->{option_results}->{filter_counters}) ? md5_hex($self->{option_results}->{filter_counters}) : md5_hex('all')) . '_' .
(defined($self->{option_results}->{filter_name}) ? md5_hex($self->{option_results}->{filter_name}) : md5_hex('all')). '_' .
(defined($self->{option_results}->{filter_id}) ? md5_hex($self->{option_results}->{filter_id}) : md5_hex('all'));