Skip to content

Conversation

@Letty5411
Copy link
Owner

1.Describe what this PR did

2.Does this pull request fix one issue?

3.Describe how you did it

4.Describe how to verify it

5.Special notes for reviews

TODO: need to add hijack in request for attach and exec start usage

Signed-off-by: letty <[email protected]>
}

func Hijack(endpoint string, opts ...Option) (net.Conn, *bufio.Reader, error) {
req, err := newRequest(http.MethodPost, environment.PouchdAddress+endpoint, opts...)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just endpoint as path

req, err := newRequest(http.MethodPost, endpoint, opts...)

Signed-off-by: letty <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants