Skip to content

Commit 71cdfd8

Browse files
author
Clark Perkins
committed
added raise_for_status=False when creating blueprint - then you get to actually see the problem in the cli instead of just BAD REQUEST
1 parent 70c6650 commit 71cdfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackdio/client/blueprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def create_blueprint(self, blueprint, provider="ec2"):
4848
self.get_formula(formula_id),
4949
component["id"][1])
5050

51-
return self._post(endpoint, data=json.dumps(blueprint), jsonify=True)
51+
return self._post(endpoint, data=json.dumps(blueprint), jsonify=True, raise_for_status=False)
5252

5353
@endpoint("blueprints/")
5454
def list_blueprints(self):

0 commit comments

Comments
 (0)