signalfx / maestro-ng

Orchestration of Docker-based, multi-host environments
https://signalfx.com
Apache License 2.0
685 stars 83 forks source link

Handle images from public registry #200

Closed sassrobi closed 5 years ago

sassrobi commented 5 years ago

The new 'retry attempts' feature checks the registry definition if there is a retry policy defained. But if the image is from public registry (aka docker hub), the registry will be None, thus the check will fail.

I'm not a python programmer, so i don't know if my fix is idiomatic, but it works :)

mpetazzoni commented 5 years ago

Thanks much!