Skip to content

Commit

Permalink
Remove incorrect warning when deleting build config
Browse files Browse the repository at this point in the history
Not all build history is necessarily deleted, so remove that message.
Builds without owner references will no be garbage collected.
  • Loading branch information
spadgett committed Sep 12, 2017
1 parent 5647d19 commit e514746
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions app/views/modals/delete-resource.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ <h1>Are you sure you want to delete the {{typeDisplayName || (kind | humanizeKin
This will delete the deployment, all rollout history, and any running pods.
</span>

<span ng-if="kind === 'BuildConfig'">
This will delete the build config and all build history.
</span>

<span ng-if="kind === 'ReplicationController' || kind === 'ReplicaSet' || kind === 'StatefulSet'">
This will delete the {{typeDisplayName || (kind | humanizeKind)}} and any running pods.
</span>
Expand Down
3 changes: 0 additions & 3 deletions dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -10586,9 +10586,6 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"<span ng-if=\"kind === 'Deployment'\">\n" +
"This will delete the deployment, all rollout history, and any running pods.\n" +
"</span>\n" +
"<span ng-if=\"kind === 'BuildConfig'\">\n" +
"This will delete the build config and all build history.\n" +
"</span>\n" +
"<span ng-if=\"kind === 'ReplicationController' || kind === 'ReplicaSet' || kind === 'StatefulSet'\">\n" +
"This will delete the {{typeDisplayName || (kind | humanizeKind)}} and any running pods.\n" +
"</span>\n" +
Expand Down

0 comments on commit e514746

Please sign in to comment.