-
Notifications
You must be signed in to change notification settings - Fork 293
Supported image formats #6712
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
base: master
Are you sure you want to change the base?
Supported image formats #6712
Changes from all commits
5d9f920
faab998
6ea452e
6025f9f
82f0d2f
ee5b3d6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -356,11 +356,12 @@ let make_sm ~__context ?(ref = Ref.make ()) ?(uuid = make_uuid ()) | |
| ?(copyright = "") ?(version = "") ?(required_api_version = "") | ||
| ?(capabilities = []) ?(features = default_sm_features) | ||
| ?(host_pending_features = []) ?(configuration = []) ?(other_config = []) | ||
| ?(driver_filename = "/dev/null") ?(required_cluster_stack = []) () = | ||
| ?(driver_filename = "/dev/null") ?(required_cluster_stack = []) | ||
| ?(supported_image_formats = []) () = | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a sensible default? Does this not force to set this parameter? Or is the empty list a special value?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes empty list is a special value because current SM plugins don't provide any information. So in this case, the list is empty and the behavior remains as it is today. We will attempt the migration, and it is up to the SM plugin to check whether it can perform the migration and raise an exception if something goes wrong. So empty list is the value with existing SM plugins. |
||
| Db.SM.create ~__context ~ref ~uuid ~_type ~name_label ~name_description | ||
| ~vendor ~copyright ~version ~required_api_version ~capabilities ~features | ||
| ~host_pending_features ~configuration ~other_config ~driver_filename | ||
| ~required_cluster_stack ; | ||
| ~required_cluster_stack ~supported_image_formats ; | ||
| ref | ||
|
|
||
| let make_sr ~__context ?(ref = Ref.make ()) ?(uuid = make_uuid ()) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.