Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to use tags for GetSnapshot in vSphere #1158

Merged
merged 3 commits into from
Dec 15, 2021
Merged

Conversation

bathina2
Copy link
Contributor

Change Overview

The PR uses the tagging mechanism when we Fetch Snapshots.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • #XXX

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

Copy link
Contributor

@carlbraganza carlbraganza left a comment

Choose a reason for hiding this comment

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

You cannot do this if snapshot tagging support is grandfathered in and can be disabled at will.

What is the use case for SnapshotGet anyway?

func (p *FcdProvider) getTagsFromSnapshotID(categoryTags []vapitags.Tag, fullSnapshotID string) ([]*blockstorage.KeyValue, error) {
tags := map[string]string{}
for _, catTag := range categoryTags {
parsedTag := &snapshotTag{}
Copy link
Contributor

Choose a reason for hiding this comment

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

parsedTag would read better as tag

@bathina2 bathina2 added the kueue label Dec 15, 2021
@mergify mergify bot merged commit 12157ea into master Dec 15, 2021
@mergify mergify bot deleted the tags_for_getsnapshot branch December 15, 2021 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants