Skip to content
Merged
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.2"
".": "0.0.3"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 18
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-7c27e323412e72166bce2de104f1bf82b57197e05b686e94cd81d07e288bd558.yml
openapi_spec_hash: 4656d2b318d04a9fec0210897d76b505
config_hash: 0810d8be60d21d67ef4460157d1d238e
config_hash: 35db4c99791f175865381f13a8ad6075
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.0.3 (2025-11-19)

Full Changelog: [v0.0.2...v0.0.3](https://github.com/onkernel/hypeman-go/compare/v0.0.2...v0.0.3)

### Bug Fixes

* **client:** correctly specify Accept header with */* instead of empty ([ac1a646](https://github.com/onkernel/hypeman-go/commit/ac1a64697c333aecdc6a463fe760b99635ba8b72))

## 0.0.2 (2025-11-11)

Full Changelog: [v0.0.1...v0.0.2](https://github.com/onkernel/hypeman-go/compare/v0.0.1...v0.0.2)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/onkernel/[email protected].2'
go get -u 'github.com/onkernel/[email protected].3'
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion image.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (r *ImageService) List(ctx context.Context, opts ...option.RequestOption) (
// Delete image
func (r *ImageService) Delete(ctx context.Context, name string, opts ...option.RequestOption) (err error) {
opts = slices.Concat(r.Options, opts)
opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...)
opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...)
if name == "" {
err = errors.New("missing required name parameter")
return
Expand Down
2 changes: 1 addition & 1 deletion instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (r *InstanceService) List(ctx context.Context, opts ...option.RequestOption
// Stop and delete instance
func (r *InstanceService) Delete(ctx context.Context, id string, opts ...option.RequestOption) (err error) {
opts = slices.Concat(r.Options, opts)
opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...)
opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...)
if id == "" {
err = errors.New("missing required id parameter")
return
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.0.2" // x-release-please-version
const PackageVersion = "0.0.3" // x-release-please-version
2 changes: 1 addition & 1 deletion volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (r *VolumeService) List(ctx context.Context, opts ...option.RequestOption)
// Delete volume
func (r *VolumeService) Delete(ctx context.Context, id string, opts ...option.RequestOption) (err error) {
opts = slices.Concat(r.Options, opts)
opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...)
opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...)
if id == "" {
err = errors.New("missing required id parameter")
return
Expand Down