mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-05-31 14:50:47 +00:00
commit
40965b9ad2
@ -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.13.1 - 2018-06-28
|
||||||
|
|
||||||
|
* Bind db handle to fn variable #687 [Cameron Diver]
|
||||||
|
|
||||||
## v7.13.0 - 2018-06-27
|
## v7.13.0 - 2018-06-27
|
||||||
|
|
||||||
* Change config function providers to be mutable #684 [Cameron Diver]
|
* Change config function providers to be mutable #684 [Cameron Diver]
|
||||||
|
@ -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.13.0",
|
"version": "7.13.1",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -61,7 +61,7 @@ module.exports = class DeviceConfig
|
|||||||
return @configBackend
|
return @configBackend
|
||||||
|
|
||||||
setTarget: (target, trx) =>
|
setTarget: (target, trx) =>
|
||||||
db = trx ? @db.models
|
db = trx ? @db.models.bind(@db)
|
||||||
confToUpdate = {
|
confToUpdate = {
|
||||||
targetValues: JSON.stringify(target)
|
targetValues: JSON.stringify(target)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user