Closed genegr closed 3 months ago
All of the tests need to be updated for the updated NewRestClient function
eg. volumes_test.go:L38
c := NewRestClient(e, "fake-api-token", "latest", "test-user-agent-string", false)
@genegr I have validated that the useragent string is being parsed correctly into the dialhome warehouse, so from my side this all good.
Let's get @chrroberts-pure points addressed, specifically the case of setting a default value.
We can then propagate this change into FlashBlade as well.
All of the tests need to be updated for the updated NewRestClient function
eg. volumes_test.go:L38
c := NewRestClient(e, "fake-api-token", "latest", "test-user-agent-string", false)
Fixed
Hi @sdodsley we're missing the updates to the function on internal/rest-client/volumes_performance_test.go
Fixes issue #102
Not immediate to automate testing. A possible option to manual test is by running the container in debug mode, use curl to query a target FA and check the output of the debug log. It should show something like the following, where the User-Agent of the original caller is added into the comment substring