This commit is contained in:
Resin CI 2019-07-11 19:38:13 +03:00
parent ab921aa1b6
commit 93b64406d6
4 changed files with 26 additions and 2 deletions

View File

@ -1,3 +1,23 @@
- commits:
- subject: Don't attempt to cleanup any target state referenced volumes
hash: a796777967facb96ade32f5a06e256b3b92d1e4b
body: |
The code before this change could potentially remove a volume which
should not be removed if a container was deleted before the call that
references said volume.
To avoid this, we additionally filter the list of volumes to cleanup by
any that are referenced in the target state. This means that cleanup
will never remove it, as long as it's still supposed to be there,
regardless of if a container references it or not.
footer:
Change-type: patch
change-type: patch
Signed-off-by: Cameron Diver <cameron@balena.io>
signed-off-by: Cameron Diver <cameron@balena.io>
author: Cameron Diver
version: 10.0.1
date: 2019-07-11T15:40:11.157Z
- commits:
- subject: Don't remove volumes when switching into local mode
hash: e076622fe627d936f0b8e8c8f9ec9f9fba25de4f

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!
This project adheres to [Semantic Versioning](http://semver.org/).
## 10.0.1 - 2019-07-11
* Don't attempt to cleanup any target state referenced volumes [Cameron Diver]
## 10.0.0 - 2019-07-10
* Don't remove volumes when switching into local mode [Cameron Diver]

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "balena-supervisor",
"version": "10.0.0",
"version": "10.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "balena-supervisor",
"description": "This is balena'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 the balena API informs it to.",
"version": "10.0.0",
"version": "10.0.1",
"license": "Apache-2.0",
"repository": {
"type": "git",