Skip to content

Commit fe17f22

Browse files
authored
chore: prepare for 0.1.17 release (#35)
1 parent 7b40cb7 commit fe17f22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

knock/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func NewClient(opts ...ClientOption) (*Client, error) {
124124
// do makes an HTTP request and populates the given struct v from the response.
125125
func (c *Client) do(ctx context.Context, req *http.Request, v interface{}) ([]byte, error) {
126126
req = req.WithContext(ctx)
127-
req.Header.Set("User-Agent", fmt.Sprintf("knocklabs/go@%s", internal.SDKVersion))
127+
req.Header.Set("User-Agent", fmt.Sprintf("Knock/Go v%s", internal.SDKVersion))
128128

129129
res, err := c.client.Do(req)
130130
if err != nil {

knock/internal/sdk_version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ package internal
22

33
// SDKVersion is used to populate the sdk's user agent. It should be updated before
44
// releasing new versions of the SDK. Eventually we can automate this process.
5-
const SDKVersion = "0.1.16"
5+
const SDKVersion = "0.1.17"

0 commit comments

Comments
 (0)