Skip to content

Commit

Permalink
server: make internal function private
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
  • Loading branch information
vbatts committed Jun 19, 2018
1 parent d5a27ca commit 7bac31b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/container_attach.go
Expand Up @@ -34,7 +34,7 @@ func (s *Server) Attach(ctx context.Context, req *pb.AttachRequest) (resp *pb.At
}()
logrus.Debugf("AttachRequest %+v", req)

resp, err = s.GetAttach(req)
resp, err = s.getAttach(req)
if err != nil {
return nil, fmt.Errorf("unable to prepare attach endpoint")
}
Expand Down
4 changes: 2 additions & 2 deletions server/server.go
Expand Up @@ -130,8 +130,8 @@ func (s *Server) GetExec(req *pb.ExecRequest) (*pb.ExecResponse, error) {
return s.stream.streamServer.GetExec(req)
}

// GetAttach returns attach stream request
func (s *Server) GetAttach(req *pb.AttachRequest) (*pb.AttachResponse, error) {
// getAttach returns attach stream request
func (s *Server) getAttach(req *pb.AttachRequest) (*pb.AttachResponse, error) {
return s.stream.streamServer.GetAttach(req)
}

Expand Down

0 comments on commit 7bac31b

Please sign in to comment.