From 3d84022b30b4ba27e3c5eb78a7191a7570e0ae37 Mon Sep 17 00:00:00 2001 From: crusader Date: Sat, 28 Apr 2018 22:12:16 +0900 Subject: [PATCH] ing --- config/probe/container.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/probe/container.go b/config/probe/container.go index 4887555..22cbecb 100644 --- a/config/probe/container.go +++ b/config/probe/container.go @@ -45,6 +45,10 @@ var ( } ) +func ToContainerType(v string) ContainerType { + return containerTypeName[v] +} + func (ct ContainerType) String() string { return containerTypeID[ct] }