From fe8b32317fffb7fc97d7d7b4226a09ff6b986e52 Mon Sep 17 00:00:00 2001 From: Sakura Date: Fri, 17 Jan 2020 19:34:48 +0800 Subject: [PATCH] delete unused field Signed-off-by: Sakura --- pkg/volume/hostpath/host_path.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/volume/hostpath/host_path.go b/pkg/volume/hostpath/host_path.go index af10f49ed54..40dfcaabe7a 100644 --- a/pkg/volume/hostpath/host_path.go +++ b/pkg/volume/hostpath/host_path.go @@ -357,9 +357,8 @@ type hostPathTypeChecker interface { } type fileTypeChecker struct { - path string - exists bool - hu hostutil.HostUtils + path string + hu hostutil.HostUtils } func (ftc *fileTypeChecker) Exists() bool {