fix(api_client): make sure weird char is stripped@@ -1,5 +1,5 @@
name: docker
-version: 0.3.0
+version: 0.3.1
crystal: ">= 0.36.1"
license: MIT
authors:
@@ -96,6 +96,7 @@ class Docker::Api::ApiClient
end
raw = res_str
+ .gsub("10f1\r\n", "") # ?
.gsub("11\r\n", "") # ?
.gsub("11c4\r\n", "") # ?
.gsub("0\r\n", "") # ?
@@ -44,9 +44,7 @@ module Docker::Api::Containers
#
# Similar to the `docker start` command, but doesn’t support attach options.
def start(id : String)
- puts "start container id: #{id}\n"
response = post "/containers/#{id}/start"
- p! response
nil
end