-
Notifications
You must be signed in to change notification settings - Fork 17
Adding CSS Logging Updates #882
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: devel
Are you sure you want to change the base?
Conversation
| url := client.ServiceURL("clusters", clusterID, "logs", "close") | ||
|
|
||
| if action != nil && *action != "" { | ||
| url += "?action=" + *action |
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.
Why you didn't use something like:
url, err := golangsdk.NewURLBuilder().
WithEndpoints("clusters", "...").
WithQueryParams(&opts).Build()
| url := client.ServiceURL("clusters", clusterID, "logs", "open") | ||
|
|
||
| if action != nil && *action != "" { |
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.
and here why you didn't use something like:
url, err := golangsdk.NewURLBuilder().
WithEndpoints("clusters", "...").
WithQueryParams(&opts).Build()
| url := client.ServiceURL("clusters", clusterID, "logs", "settings") | ||
|
|
||
| if action != nil && *action != "" { | ||
| url += "?action=" + *action | ||
| } |
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.
Why you didn't use something like:
url, err := golangsdk.NewURLBuilder().
WithEndpoints("clusters", "...").
WithQueryParams(&opts).Build()
| url := client.ServiceURL("clusters", clusterID, "logs", "settings") | ||
|
|
||
| if action != nil && *action != "" { | ||
| url += "?action=" + *action | ||
| } |
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.
Why you didn't use something like:
url, err := golangsdk.NewURLBuilder().
WithEndpoints("clusters", "...").
WithQueryParams(&opts).Build()
Addign CSS Logging Updates: