Skip to content

Commit 26b63f8

Browse files
authored
Merge pull request #211 from Kartik494/addklog
Add klog statement when a request is fulfilled
2 parents 1e9055a + 0a153a6 commit 26b63f8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/server/smb/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ func (s *Server) NewSmbGlobalMapping(context context.Context, request *internal.
8787
}
8888
}
8989

90+
klog.V(2).Infof("NewSmbGlobalMapping on remote path %q is completed", request.RemotePath)
9091
return response, nil
9192
}
9293

@@ -105,5 +106,6 @@ func (s *Server) RemoveSmbGlobalMapping(context context.Context, request *intern
105106
klog.Errorf("failed RemoveSmbGlobalMapping %v", err)
106107
return response, err
107108
}
109+
klog.V(2).Infof("RemoveSmbGlobalMapping on remote path %q is completed", request.RemotePath)
108110
return response, nil
109111
}

0 commit comments

Comments
 (0)