strmprivacy/cli

strm sim run-random should give preference to options instead of saved-entities

jankeesvanandel opened this issue · 0 comments

Describe the bug
When I pass the --client-id and --client-secret options to the CLI command sim run-random, it first tries to find the saved entity with the stream-name. And only if it is not found, it uses the options. It should be the other way around and give preference to the options, and only use the saved entity if none are entered.

See: https://github.com/streammachineio/cli/blob/master/pkg/sim/randomsim/randomsim.go#L25