Dynatrace / dynatrace-api

BSD 3-Clause "New" or "Revised" License
102 stars 87 forks source link

Only first line checked when using pattern match in third party commands SSH #90

Closed Dynatrace-James-Kitson closed 2 years ago

Dynatrace-James-Kitson commented 2 years ago

https://github.com/Dynatrace/dynatrace-api/blob/44a70ef0fc75c67cdd47c19eccbe2c14335517f7/third-party-synthetic/active-gate-extensions/extension-third-party-linux-commands/src/remote_client.py#L112

Where the return statement is means that no matter how many lines of output there is only one line will be evaluated.

Dynatrace-James-Kitson commented 2 years ago

I'll plan on fixing this.