First argument to part_handler methods should not be None
Bug #1669749 reported by
Fritz Elfert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloudbase-init |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
In order to write a proper part handler, the first argument should be an object which lets the plugin have access to the config and at least to some logging and ideally other class instances.
Background:
I was annoyed by the fact that WINRM certificates and ordinary userData are mutually exclusive. Therefore I started writing a part_handler for 'application/
Changed in cloudbase-init: | |
status: | New → Incomplete |
To post a comment you must log in.
Hello,
You can import at any time the logging libraries and (os)utils ones.
If you implement this patch, I will be glad to help you send it on the review queue.
Thank you,
Adrian Vladu