Auto-merge for PR #571 via VersionBot

compose: fix type error, createVolume returns a promise
This commit is contained in:
resin-io-versionbot[bot] 2018-03-09 08:26:23 +00:00 committed by GitHub
commit f6df2a3b96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/). This project adheres to [Semantic Versioning](http://semver.org/).
## v7.1.4 - 2018-03-09
* Compose: fix type error, createVolume returns a promise #571 [Petros Angelatos]
## v7.1.3 - 2018-03-08 ## v7.1.3 - 2018-03-08
* Lib: add missing flag to openAsync() #570 [Petros Angelatos] * Lib: add missing flag to openAsync() #570 [Petros Angelatos]

View File

@ -1,7 +1,7 @@
{ {
"name": "resin-supervisor", "name": "resin-supervisor",
"description": "This is resin.io's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as Resin's API informs it to.", "description": "This is resin.io's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as Resin's API informs it to.",
"version": "7.1.3", "version": "7.1.4",
"license": "Apache-2.0", "license": "Apache-2.0",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -61,7 +61,7 @@ module.exports = class Volumes
Name: "#{appId}_#{name}" Name: "#{appId}_#{name}"
Labels: labels Labels: labels
DriverOpts: driverOpts DriverOpts: driverOpts
}).inspect().then(@format) }).call('inspect').then(@format)
.tapCatch (err) => .tapCatch (err) =>
@logger.logSystemEvent(logTypes.createVolumeError, { volume: { name }, error: err }) @logger.logSystemEvent(logTypes.createVolumeError, { volume: { name }, error: err })