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

Feat/apiv2 update #94

Merged
merged 15 commits into from
Oct 13, 2023
Merged

Conversation

David-T-White
Copy link
Collaborator

This PR integrates the new version of api-lib, utilizing the /pkg/v1 library, shown in go.mod as v1.0.18.

It rebases the original "apiv2" branch onto main, and then adds a few bug fixes.

Bug fixes:

  • Update csi snapshot object creation using new api lib to directly use the CreationTime returned from the snapshot lib, instead of re-parsing the creation time string.
  • Volume WWN previously might not be retrieved if createVolume was called a second time for the same volume (CSI idempotency requirement).
  • Restore "previously unmapped device discovery" functionality

Copy link
Member

@jskazinski jskazinski left a comment

Choose a reason for hiding this comment

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

Perhaps one change to reduce an extra MC API call for WWN.

pkg/controller/provisioner.go Outdated Show resolved Hide resolved
Copy link
Member

@jskazinski jskazinski left a comment

Choose a reason for hiding this comment

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

LGTM

@David-T-White David-T-White merged commit 04df2ca into Seagate:main Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants