Open vladimirfx opened 5 days ago
Expected behavior (what you expected to happen):
Each hook stdout/stderr output should be logged once.
Actual behavior (what actually happened):
There are many full and partial duplicates on hook output in logs.
Steps to reproduce:
Environment:
Anything else we should know?:
controller.log
Additional information for debugging (if necessary):
https://github.com/cit-consulting/hetzner-failoverip-controller/blob/v0.8/docker/hooks/sync-fip.sh
Hello, could you please try adding -s flag to the curl calls in your script and give it a try?
-s
Do so already: controller.log
https://github.com/cit-consulting/hetzner-failoverip-controller/blob/v0.8.1/docker/hooks/lib/process-resource.sh
Fixed in the linked PR. Thanks for the report!
Expected behavior (what you expected to happen):
Each hook stdout/stderr output should be logged once.
Actual behavior (what actually happened):
There are many full and partial duplicates on hook output in logs.
Steps to reproduce:
Environment:
Anything else we should know?:
controller.log
Additional information for debugging (if necessary):
https://github.com/cit-consulting/hetzner-failoverip-controller/blob/v0.8/docker/hooks/sync-fip.sh