weizhouapache commented on code in PR #8489:
URL: https://github.com/apache/cloudstack/pull/8489#discussion_r1447740138
##########
ui/src/views/compute/KubernetesServiceTab.vue:
##########
@@ -403,8 +403,8 @@ export default {
ips = ips.filter(x => x.issourcenat)
this.publicIpAddress = ips.length > 0 ? ips[0] : null
}
- }).catch(error => {
- this.$notifyError(error)
+ }).catch(() => {
+ this.publicIpAddress = null
Review Comment:
> Instead of ignoring the exception, why not check if the user has
permission to use the API?
The issue is not caused by permission. The users have permission to the api,
but they cannot list public ips of a shared network which has scope=domain
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]