-
Notifications
You must be signed in to change notification settings - Fork 856
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug(vmware): initialize new DataSourceVMware attributes at unpickle (#…
…5021) bug(vmware): initialize new DataSourceVMware attributes at unpickle When a datasource has already been cached from a previous boot, the datasource is deserialized from the cached object instead of running __init__ method. Across a cloud-init package upgrade if new instance attributes have been initialized in __init__, we need to also initialize them in the class _unpickle method to avoid AttributeErrors for any instance methods referencing new attributes. Fix AttributeError on rpctool and rpctool_fn LP: #2056439
- Loading branch information
1 parent
f32228e
commit f1e4398
Showing
4 changed files
with
275 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters