Remove guard0 from list output
This commit is contained in:
parent
c31be1a616
commit
4a5c60c66d
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue