From eca0f37619e4de45baccc7cebe134aa318cec9a1 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Date: Thu, 14 Sep 2017 09:33:11 -0400 Subject: [PATCH] Add error message for invalid mount paths when adding secrets to an application Fixes #2073 --- app/views/directives/add-secret-to-application.html | 5 +++++ dist/scripts/templates.js | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/app/views/directives/add-secret-to-application.html b/app/views/directives/add-secret-to-application.html index f632b27090..37d548ce08 100644 --- a/app/views/directives/add-secret-to-application.html +++ b/app/views/directives/add-secret-to-application.html @@ -67,6 +67,11 @@

Add to Application

The mount path is already used. Please choose another mount path. +
+ + Mount path must be a valid path to a directory starting with /. + +
diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index 4cadcefb8c..fc3858c4d3 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -5607,6 +5607,11 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "The mount path is already used. Please choose another mount path.\n" + "\n" + "\n" + + "
\n" + + "\n" + + "Mount path must be a valid path to a directory starting with /.\n" + + "\n" + + "
\n" + "\n" + "\n" + "\n" +