IBM-Security / ibmsecurity

Idempotent functions for IBM Security Appliance REST APIs. Currently covering ISAM and ISDS Appliances.
Apache License 2.0
47 stars 73 forks source link

warnings not initialised #419

Closed lecuongau closed 2 months ago

lecuongau commented 5 months ago

In ibmsecurity/isam/web/reverse_proxy/junctions_server.py add and set functions, the warnings variable does not have a default initialisation. This means that any warnings will result in the functions failing unless warnings was passed as a parameter. Previous versions had initialised warnings in the function parameters.

tombosmansibm commented 4 months ago

Thanks, will fix that.

tombosmansibm commented 4 months ago

The add function never had a proper initialization for warnings - good catch.

The set function has an initialization for warnings.