Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Commit

Permalink
fix the dobould / issue in stack export
Browse files Browse the repository at this point in the history
  • Loading branch information
tifayuki committed May 10, 2017
1 parent a1b9259 commit 06a1e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockercloud/api/stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def redeploy(self, reuse_volumes=True):
def export(self):
if not self.resource_uri:
raise ApiError("You must save the object before performing this operation")
url = "/".join([self.resource_uri, "export"])
url = "/".join([self.resource_uri.rstrip("/"), "export"])
return send_request("GET", url, inject_header=False)

0 comments on commit 06a1e53

Please sign in to comment.