Quick fix on HPE-Primera-RestAPI (#5186)

Co-authored-by: Lucie Dubrunfaut <ldubrunfaut@CNTR-PORT-A198>
This commit is contained in:
Lucie Dubrunfaut 2024-09-24 11:07:25 +02:00 committed by GitHub
parent 53afb6ee11
commit 8af60e86e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ sub request_api {
my ($content) = $self->{http}->request(
url_path => $options{endpoint},
get_param => $get_param,
header => [ 'Authorization: Bearer ' . $token ],
header => [ 'X-HP3PAR-WSAPI-SessionKey: ' . $token ],
unknown_status => '',
warning_status => '',
critical_status => ''