Skip to content

UI Storage Pool Tags: unable to delete last tag#4611

Merged
yadvr merged 2 commits intoapache:4.15from
shapeblue:fix-storage-pool-tags
Jan 25, 2021
Merged

UI Storage Pool Tags: unable to delete last tag#4611
yadvr merged 2 commits intoapache:4.15from
shapeblue:fix-storage-pool-tags

Conversation

@Pearl1594
Copy link
Contributor

Description

This PR attempts to fix #4610 - wherein the last tag added to a host/storage pool doesn't get deleted

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

}
if (input === undefined || input === null || input === '') {
if (input === undefined || input === null || (input === '' &&
!['updateStoragePool', 'updateHost'].includes(action.api))) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Pearl1594 we have physical networks tags also, I just checked we could not delete the tag on physical network too, can you please add that here.

Copy link
Member

@harikrishna-patnala harikrishna-patnala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Pearl1594 , looks good to me now

@yadvr yadvr merged commit c5b1fec into apache:4.15 Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants