-
Notifications
You must be signed in to change notification settings - Fork 14
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
Initial Connect/DBS resources #396
Initial Connect/DBS resources #396
Conversation
Signed-off-by: Andy Lo-A-Foe <andy.loafoe@gmail.com>
Signed-off-by: Andy Lo-A-Foe <andy.loafoe@gmail.com>
var ok bool | ||
err = tools.TryHTTPCall(ctx, 10, func() (*http.Response, error) { | ||
var err error | ||
ok, _, err = client.Subscribers.DeleteSQS(*resource) |
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.
Check: you appear to be passing the full resource. I would assume a delete is by reference (just passing the resource id)
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.
The go-hsdp-api accepts a resource for the DELETE
operation.
See also: https://github.com/philips-software/go-hsdp-api/blob/main/connect/dbs/subscriber_service.go#L128
@marcin-dzwonkowicz / @akodhawan can you also have a look? |
No description provided.