Skip to content

Commit 8bca523

Browse files
author
OpenShift Bot
authoredDec 2, 2016
Merge pull request #980 from spadgett/fix-edit-bc-url-validation
Merged by openshift-bot
2 parents ac395f8 + 8b81958 commit 8bca523

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

Diff for: ‎app/views/edit/build-config.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h3>Source Configuration</h3>
4747
Git URL of the source code to build.
4848
<span ng-if="!view.advancedOptions">If your Git repository is private, view the <a href="" ng-click="view.advancedOptions = true">advanced options</a> to set up authentication.</span>
4949
</div>
50-
<div class="has-warning" ng-if="updatedBuildConfig.spec.source.git.uri && form.sourceUrl.$touched && !sourceURLPattern.test(buildConfig.sourceUrl)">
50+
<div class="has-warning" ng-if="updatedBuildConfig.spec.source.git.uri && form.sourceUrl.$touched && !sourceURLPattern.test(updatedBuildConfig.spec.source.git.uri)">
5151
<span class="help-block">This might not be a valid Git URL. Check that it is the correct URL to a remote Git repository.</span>
5252
</div>
5353
</div>

Diff for: ‎dist/scripts/templates.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8042,7 +8042,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
80428042
"Git URL of the source code to build.\n" +
80438043
"<span ng-if=\"!view.advancedOptions\">If your Git repository is private, view the <a href=\"\" ng-click=\"view.advancedOptions = true\">advanced options</a> to set up authentication.</span>\n" +
80448044
"</div>\n" +
8045-
"<div class=\"has-warning\" ng-if=\"updatedBuildConfig.spec.source.git.uri && form.sourceUrl.$touched && !sourceURLPattern.test(buildConfig.sourceUrl)\">\n" +
8045+
"<div class=\"has-warning\" ng-if=\"updatedBuildConfig.spec.source.git.uri && form.sourceUrl.$touched && !sourceURLPattern.test(updatedBuildConfig.spec.source.git.uri)\">\n" +
80468046
"<span class=\"help-block\">This might not be a valid Git URL. Check that it is the correct URL to a remote Git repository.</span>\n" +
80478047
"</div>\n" +
80488048
"</div>\n" +

0 commit comments

Comments
 (0)