BigBoot / AutoKuma

AutoKuma is a utility that automates the creation of Uptime Kuma monitors based on Docker container labels. With AutoKuma, you can eliminate the need for manual monitor creation in the Uptime Kuma UI.
MIT License
309 stars 15 forks source link

Update sync.rs - Allow use of tcp:// for DOCKER_HOST #64

Closed arhue closed 3 months ago

BigBoot commented 3 months ago

Hi and thanks for your PR, I think it would be a better idea to move the format! Inside the unwrap_or_else on line 491, then there's no need to hardcode the prefixes (of which there are more than tcp:// and unix:// btw.

BigBoot commented 3 months ago

fixed on master

arhue commented 3 months ago

@BigBoot Sorry somehow missed this. I tried out the code from master, works great and solved the issue. Thank you very much