Make ClientConfig.Cmd and ClientConfig.RunnerFunc mutually exclusive
Clients setting RunnerFunc can call ReattachConfig() but need to supply their own ReattachFunc as it can't necessarily be derived from RunnerFunc. Exercise ReattachConfig() in tests in a way that previously panicked.
Improve 1 logger line for non-cmd implementations.
Add ID() function to client; accommodates creating a ReattachFunc and also useful for client's debug log information.
A set of small follow-ups to #270:
ClientConfig.Cmd
andClientConfig.RunnerFunc
mutually exclusiveRunnerFunc
can callReattachConfig()
but need to supply their ownReattachFunc
as it can't necessarily be derived fromRunnerFunc
. ExerciseReattachConfig()
in tests in a way that previously panicked.ID()
function to client; accommodates creating aReattachFunc
and also useful for client's debug log information.