Skip to content

Commit 9af427d

Browse files
committed
fix: http response code for building block creation is now 201
1 parent 49fc533 commit 9af427d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## 0.1.0 (Unreleased)
1+
## 0.5.4
22

3-
FEATURES:
3+
fix: http response code for building block creation is now 201

client/buildingblock.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ func (c *MeshStackProviderClient) CreateBuildingBlock(bb *MeshBuildingBlockCreat
141141
return nil, err
142142
}
143143

144-
if res.StatusCode != 200 {
144+
if res.StatusCode != 201 {
145145
return nil, fmt.Errorf("unexpected status code: %d, %s", res.StatusCode, data)
146146
}
147147

0 commit comments

Comments
 (0)