From 1bab2c6a83dfbe97404133b767920ab6f28b2416 Mon Sep 17 00:00:00 2001 From: Praneeth Bodduluri Date: Thu, 10 Dec 2015 20:56:36 +0530 Subject: [PATCH] Do not report the tun addresses to API --- CHANGELOG.md | 3 +++ gosuper/gosuper/api.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 046dc4fb..a981c8a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ + +* Do not report the tun addresses to API [Praneeth] + # v1.3.1 * Only save the app if starting the container was successful [Pablo] diff --git a/gosuper/gosuper/api.go b/gosuper/gosuper/api.go index edc30feb..69ad93b2 100644 --- a/gosuper/gosuper/api.go +++ b/gosuper/gosuper/api.go @@ -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]+)`) +var dockerMatch = regexp.MustCompile(`(docker[0-9]+)|(rce[0-9]+)|(tun[0-9]+)`) // APIResponse The api response sent from go supervisor type APIResponse struct {