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

incus/storage_volume: Add yaml support for create #864

Merged
merged 2 commits into from
May 13, 2024

Conversation

awalvie
Copy link
Contributor

@awalvie awalvie commented May 10, 2024

Part of #741

@awalvie awalvie requested a review from stgraber as a code owner May 10, 2024 13:02
Comment on lines 636 to 645
vol := api.StorageVolumesPost{
Name: volName,
Type: volType,
ContentType: c.flagContentType,
StorageVolumePut: volumePut,
}
Copy link
Member

Choose a reason for hiding this comment

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

This causes build failures as you are no longer initializing Config to an empty map.

@stgraber
Copy link
Member

Needs a tiny fix and a rebase.

@awalvie awalvie force-pushed the yaml-support-storage-volume-create branch from da0aef4 to ea313c1 Compare May 13, 2024 10:19
@awalvie
Copy link
Contributor Author

awalvie commented May 13, 2024

Pushed the fixes!

@awalvie awalvie closed this May 13, 2024
@awalvie awalvie reopened this May 13, 2024
@awalvie
Copy link
Contributor Author

awalvie commented May 13, 2024

I don't know why it closed, sorry about that.

@awalvie awalvie force-pushed the yaml-support-storage-volume-create branch from ea313c1 to 44daf7e Compare May 13, 2024 10:52
Part of lxc#741

Signed-off-by: Vishesh Agrawal <agrawal.vishesh.178@gmail.com>
Signed-off-by: Vishesh Agrawal <agrawal.vishesh.178@gmail.com>
@awalvie awalvie force-pushed the yaml-support-storage-volume-create branch from 44daf7e to 356b229 Compare May 13, 2024 11:06
@awalvie
Copy link
Contributor Author

awalvie commented May 13, 2024

Couple of stupid mistakes, sorry about the force pushes.

@stgraber stgraber merged commit f149513 into lxc:main May 13, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants