Skip to content

Commit

Permalink
Update internal/http/imagerunner.go
Browse files Browse the repository at this point in the history
Co-authored-by: Tian Feng <[email protected]>
  • Loading branch information
alexplischke and tianfeng92 authored Jan 29, 2024
1 parent af81094 commit 0bf0afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/http/imagerunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ func (c *ImageRunner) getWebSocketURL() (string, error) {
func (c *ImageRunner) OpenAsyncEventsWebSocket(id string, lastSeq string, wait bool) (*websocket.Conn, error) {
// dummy request so that we build basic auth header consistently
dummyURL := fmt.Sprintf("%s/v1alpha1/hosted/async/image/runners/%s/events", c.URL, id)
req, err := http.NewRequest("GET", dummyURL, nil)
req, err := http.NewRequest(http.MethodGet, dummyURL, nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 0bf0afb

Please sign in to comment.