-
Notifications
You must be signed in to change notification settings - Fork 30
volume wait interval through settings #872
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
Changes from all commits
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 |
|---|---|---|
|
|
@@ -49,7 +49,6 @@ func main() { | |
| <-ackChan | ||
| } | ||
| utils.PrintLog(msg) | ||
| return | ||
| } | ||
|
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. The removal of the |
||
|
|
||
| client, err := utils.GetInclusterClient() | ||
|
|
@@ -93,6 +92,7 @@ func main() { | |
| if err != nil { | ||
| handleError(fmt.Sprintf("Failed to validate OpenStack connection: %v", err)) | ||
| } | ||
| openstackclients.K8sClient = client | ||
| utils.PrintLog("Connected to OpenStack") | ||
|
|
||
| // Get thumbprint | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the
returnstatement from thehandleErrorfunction changes its behavior significantly. Without the return, execution will continue after reporting an error, which could lead to unexpected behavior or crashes when trying to use uninitialized resources later in the code. The function appears to be designed to report errors and then terminate execution.