mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-29 18:18:52 +00:00
Auto-merge for PR #568 via VersionBot
Convert object to array when normalising legacy target apps
This commit is contained in:
commit
615ee5df9a
@ -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.1 - 2018-03-08
|
||||||
|
|
||||||
|
* Convert object to array when normalising legacy target apps #568 [Cameron Diver]
|
||||||
|
|
||||||
## v7.1.0 - 2018-03-07
|
## v7.1.0 - 2018-03-07
|
||||||
|
|
||||||
* Introduce workaround for IPv6 DNS resolution until nodejs becomes RFC 3484 compliant #566 [Petros Angelatos]
|
* Introduce workaround for IPv6 DNS resolution until nodejs becomes RFC 3484 compliant #566 [Petros Angelatos]
|
||||||
|
@ -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.0",
|
"version": "7.1.1",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -153,8 +153,9 @@ module.exports = class DeviceState extends EventEmitter
|
|||||||
.then =>
|
.then =>
|
||||||
console.log('Migrating legacy app volumes')
|
console.log('Migrating legacy app volumes')
|
||||||
@applications.getTargetApps()
|
@applications.getTargetApps()
|
||||||
.map (app) =>
|
.then(_.keys)
|
||||||
@applications.volumes.createFromLegacy(app.appId)
|
.map (appId) =>
|
||||||
|
@applications.volumes.createFromLegacy(appId)
|
||||||
.then =>
|
.then =>
|
||||||
@config.set({ legacyAppsPresent: 'false' })
|
@config.set({ legacyAppsPresent: 'false' })
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user