mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Merge pull request #404 from Icinga:fix/rest_api_listen_address
Fix: REST-Api address argument not being used Fixes missing address attribute for REST-Api daemon, making it unable to change the listening address
This commit is contained in:
commit
2ce536c95e
3 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
|
|||
|
||||
### Bugfixes
|
||||
|
||||
* [#402](https://github.com/Icinga/icinga-powershell-framework/pull/402) Fixes missing address attribute for REST-Api daemon, making it unable to change the listening address
|
||||
* [#403](https://github.com/Icinga/icinga-powershell-framework/pull/403) Fixes memory leak on newly EventLog reader for CLI event stream
|
||||
|
||||
## 1.7.1 (2021-11-11)
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ function New-IcingaForWindowsRESTApi()
|
|||
# Allow us to parse the framework global data to this thread
|
||||
param (
|
||||
$IcingaDaemonData,
|
||||
[string]$Address = '',
|
||||
$Port,
|
||||
$RootFolder,
|
||||
$CertFile,
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ function Start-IcingaWindowsRESTApi()
|
|||
-Command 'New-IcingaForWindowsRESTApi' `
|
||||
-CmdParameters @{
|
||||
'IcingaDaemonData' = $global:IcingaDaemonData;
|
||||
'Address' = $Address;
|
||||
'Port' = $Port;
|
||||
'RootFolder' = $RootFolder;
|
||||
'CertFile' = $CertFile;
|
||||
|
|
|
|||
Loading…
Reference in a new issue