Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

should we collect log for dry-run? #22

Open
github-actions bot opened this issue May 19, 2022 · 0 comments
Open

should we collect log for dry-run? #22

github-actions bot opened this issue May 19, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link

should we collect log for dry-run?

// TODO should we collect log for dry-run?

	// Proceed with the current command execution
	if executionMode == operatorv1.OperationExecutionModeDryRun {
		// if dry running wait for an arbitrary delay so the user will get a better perception of the Task execution order
		time.Sleep(3 * time.Second)
		// TODO should we collect log for dry-run?
	} else {
		// else we should execute the CurrentCommand
		log.WithValues("command", task.Status.CurrentCommand).Info("running command")
ndex f6c397d..a203449 100644
++ b/controllers/util.go

b9f25b3d30f499bd9851f9cfb8d2a085bb61904f

@github-actions github-actions bot added the todo label May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

0 participants