Skip to content

Commit

Permalink
Bug 1496687: Consistent binding names
Browse files Browse the repository at this point in the history
Use the binding name instead of the secret name in the service instances
table to be consistent with the overview and service instance details page.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1496687
  • Loading branch information
spadgett committed Oct 11, 2017
1 parent 8ef85f7 commit 9396acb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/service-instances.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h1>
{{application.metadata.name}}
</span>
<span ng-if="!application">
{{firstBinding.spec.secretName}}
{{firstBinding.metadata.name}}
</span>
<ng-pluralize count="bindingsByInstanceRef[serviceInstance.metadata.name].length"
when="{'0':'', '1':'', '2':'and {} other', 'other':'and {} others'}"
Expand Down
2 changes: 1 addition & 1 deletion dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -13173,7 +13173,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"{{application.metadata.name}}\n" +
"</span>\n" +
"<span ng-if=\"!application\">\n" +
"{{firstBinding.spec.secretName}}\n" +
"{{firstBinding.metadata.name}}\n" +
"</span>\n" +
"<ng-pluralize count=\"bindingsByInstanceRef[serviceInstance.metadata.name].length\" when=\"{'0':'', '1':'', '2':'and {} other', 'other':'and {} others'}\" offset=\"1\">\n" +
"</ng-pluralize>\n" +
Expand Down

0 comments on commit 9396acb

Please sign in to comment.