Skip to content

Commit

Permalink
Quick fix on HPE-Primera-RestAPI (#5186)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucie Dubrunfaut <ldubrunfaut@CNTR-PORT-A198>
  • Loading branch information
lucie-dubrunfaut and Lucie Dubrunfaut authored Sep 24, 2024
1 parent 53afb6e commit 8af60e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/hp/primera/restapi/custom/api.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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 => ''
Expand Down

0 comments on commit 8af60e8

Please sign in to comment.