mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
docs(templates): add deprecation notice for old volume format
This commit is contained in:
parent
c1e486bf43
commit
13b2fcffd2
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ function TemplateViewModel(data) {
|
|||
this.Volumes = [];
|
||||
if (data.volumes) {
|
||||
this.Volumes = data.volumes.map(function (v) {
|
||||
// @DEPRECATED: New volume definition introduced
|
||||
// via https://github.com/portainer/portainer/pull/1154
|
||||
var volume = {
|
||||
readOnly: v.readonly || false,
|
||||
containerPath: v.container || v,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue