diff options
author | softprops <d.tangren@gmail.com> | 2018-10-13 19:24:04 -0400 |
---|---|---|
committer | softprops <d.tangren@gmail.com> | 2018-10-13 19:24:04 -0400 |
commit | 762468344db4d7ab9e1aa077a769092f384a19a2 (patch) | |
tree | d831c9b8c08467d84bc083f816fd65af276fd252 /src | |
parent | 458174f5efe1531ed876ac277456b13b19632037 (diff) | |
parent | df93b62adebd7c2e99d0b82c33d7b68077d09015 (diff) |
Merge branch 'master' of github.com:softprops/shiplift
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -524,7 +524,7 @@ impl<'a> Containers<'a> { &self, opts: &ContainerOptions, ) -> Result<ContainerCreateInfo> { - let data = serde_json::to_string(opts)?; + let data = opts.serialize()?; let bytes = data.into_bytes(); let mut path = vec!["/containers/create".to_owned()]; |