gosuper: When getting IP addresses, ignore balena and the resin-dns bridge

Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit is contained in:
Pablo Carranza Velez 2017-12-12 00:03:32 -08:00
parent 07a2b63f63
commit c34454bbe1

View File

@ -16,7 +16,7 @@ import (
// Compile the expression once, usually at init time.
// Use raw strings to avoid having to quote the backslashes.
var dockerMatch = regexp.MustCompile(`(docker[0-9]+)|(rce[0-9]+)|(tun[0-9]+)|(resin-vpn)`)
var dockerMatch = regexp.MustCompile(`(balena[0-9]+)|(docker[0-9]+)|(rce[0-9]+)|(tun[0-9]+)|(resin-vpn)|(resin-dns)`)
// APIResponse The api response sent from go supervisor
type APIResponse struct {