-
Notifications
You must be signed in to change notification settings - Fork 24
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
Event Source should use different method call #523
Comments
embano1
added a commit
to embano1/sources-for-knative
that referenced
this issue
Jun 22, 2023
The source property of the adapter was set using the URL host field which is incomplete and confusing for users migrating from the VEBA project to Sources. This fix changes the source semantic to be a valid and fully-qualifed URL of the configured vCenter event source. Closes: vmware-tanzu#523 Signed-off-by: Michael Gasch <[email protected]>
3 tasks
gabo1208
pushed a commit
that referenced
this issue
Jun 26, 2023
The source property of the adapter was set using the URL host field which is incomplete and confusing for users migrating from the VEBA project to Sources. This fix changes the source semantic to be a valid and fully-qualifed URL of the configured vCenter event source. Closes: #523 Signed-off-by: Michael Gasch <[email protected]>
gabo1208
pushed a commit
that referenced
this issue
Jun 26, 2023
The source property of the adapter was set using the URL host field which is incomplete and confusing for users migrating from the VEBA project to Sources. This fix changes the source semantic to be a valid and fully-qualifed URL of the configured vCenter event source. Closes: #523 Signed-off-by: Michael Gasch <[email protected]>
gabo1208
added a commit
that referenced
this issue
Jun 26, 2023
The source property of the adapter was set using the URL host field which is incomplete and confusing for users migrating from the VEBA project to Sources. This fix changes the source semantic to be a valid and fully-qualifed URL of the configured vCenter event source. Closes: #523 Signed-off-by: Michael Gasch <[email protected]> Co-authored-by: Michael Gasch <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To construct the event source field (not sure if it's used for other stuff), the code is using
source := vClient.URL().Host
whereas it should be usingvc.client.URL().String()
not only to be consistent with VEBA but also to construct a valid URL.https://github.com/vmware-tanzu/sources-for-knative/blob/8fda92aa2260cdcd276a4314fa631c9356d5e303/pkg/vsphere/adapter.go#LL76C2-L76C30
The text was updated successfully, but these errors were encountered: