Skip to content

Commit

Permalink
fix(titus/serverGroup): Remove empty key/pairs from job attributes (#…
Browse files Browse the repository at this point in the history
…9104)

* fix(titus/serverGroup): Remove empty key/pairs from job attributes

* Update app/scripts/modules/titus/src/serverGroup/details/serverGroupDetails.titus.controller.js

Co-authored-by: Chris Thielen <christopherthielen@users.noreply.github.com>
  • Loading branch information
caseyhebebrand and christopherthielen committed Apr 27, 2021
1 parent 880ebcf commit 5bd3e1e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ angular
delete labels['source'];
delete labels['spinnakerAccount'];

delete labels[''];

Object.keys(labels).forEach((key) => {
if (key.startsWith('titus.')) {
delete labels[key];
Expand Down

0 comments on commit 5bd3e1e

Please sign in to comment.