Rewrite sync command to work with only the context created on command execution #202
Closed
3 tasks done
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Preflight Checklist
Version
v0.1.3
Expected Behavior
command.ExecuteContext(context.Background())
should create the context, and it should be retrievable withcommand.Context()
.Actual Behavior
Currently the
NewSyncCMD
function runsinit()
andrun()
and after that the sync command is executed, therefore we cannot usecommand.ExecuteContext(context.Background())
to create a context, and then use it elsewhere withcommand.Context()
.Steps To Reproduce
No response
Logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: