Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning for testdir Override #257

Merged
merged 3 commits into from
Dec 17, 2020
Merged

Warning for testdir Override #257

merged 3 commits into from
Dec 17, 2020

Conversation

kensipe
Copy link
Member

@kensipe kensipe commented Dec 16, 2020

Feedback from community is that overriding the kuttl-test.yaml config testDirs is something that needed to be in the stdout log for awareness.

Signed-off-by: Ken Sipe kensipe@gmail.com

Signed-off-by: Ken Sipe <kensipe@gmail.com>
Signed-off-by: Ken Sipe <kensipe@gmail.com>
Copy link
Contributor

@alenkacz alenkacz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM apart from that nit

@@ -195,6 +193,7 @@ For more detailed documentation, visit: https://kuttl.dev`,
}

if len(args) != 0 {
log.Println("kutt-test config testdirs is overridden with arg: ", args)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

won't this end with a not nice looking log? Should we maybe rather do strings.Join(args, ",") ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. thanks @alenkacz !

Signed-off-by: Ken Sipe <kensipe@gmail.com>
@kensipe kensipe merged commit a49381c into main Dec 17, 2020
@kensipe kensipe deleted the ken/testdir-override branch December 17, 2020 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants