Remove guard0 from list output

This commit is contained in:
Michael Crosby 2019-07-11 12:24:24 +00:00
parent c31be1a616
commit 4a5c60c66d

View file

@ -286,6 +286,9 @@ func (s *server) List(ctx context.Context, _ *types.Empty) (*v1.ListResponse, er
if !f.IsDir() { if !f.IsDir() {
continue continue
} }
if f.Name() == guardTunnel {
continue
}
t, err := s.loadTunnel(f.Name()) t, err := s.loadTunnel(f.Name())
if err != nil { if err != nil {
return nil, err return nil, err