docs(templates): add deprecation notice for old volume format
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user