Skip to content

Commit

Permalink
fixed %d
Browse files Browse the repository at this point in the history
  • Loading branch information
ribejara-te committed Oct 10, 2024
1 parent f459949 commit 1deefe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thousandeyes/resource_stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (sc *StreamClient) GetStream(id string) (*Stream, error) {
}

func (sc *StreamClient) UpdateStream(id string, s Stream) (*Stream, error) {
resp, err := sc.do("PUT", fmt.Sprintf("/stream/%d", id), s)
resp, err := sc.do("PUT", fmt.Sprintf("/stream/%s", id), s)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 1deefe1

Please sign in to comment.