From ce1a7bc07025b058772328513cef0e194f886f0a Mon Sep 17 00:00:00 2001 From: Carlo Wouters Date: Mon, 3 Jun 2019 12:20:19 +0200 Subject: [PATCH] fix for issue #206: correct status for probes --- internal/resource/container.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/resource/container.go b/internal/resource/container.go index ae6eba95..1572ee5d 100644 --- a/internal/resource/container.go +++ b/internal/resource/container.go @@ -287,9 +287,9 @@ func toRes(r v1.ResourceList) (string, string) { func probe(p *v1.Probe) string { if p == nil { - return "on" + return "off" } - return "off" + return "on" } func asMi(v int64) float64 {