-
Notifications
You must be signed in to change notification settings - Fork 556
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: prevent panic in nocloud platform code
The bug was logical: first the check was done for one of the values to be non-nil, and after that one of the values was assumed to be non-nil, while it could have been nil. While fixing that, linter figured out that raw metadata config is never needed outside of `acquireConfig`, so this got dropped as well, simplifying the code even more. Fixes #9578 Signed-off-by: Andrey Smirnov <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
15 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