From 13b2fcffd21f93ced1bb026b4bc772abda084089 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Mon, 28 Aug 2017 20:57:41 +0200 Subject: [PATCH] docs(templates): add deprecation notice for old volume format --- app/models/api/template.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/api/template.js b/app/models/api/template.js index 3883edf4f..0123f92e4 100644 --- a/app/models/api/template.js +++ b/app/models/api/template.js @@ -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,