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

Add a warning if a meta is repeated on the same device #219

Closed
lorenzo93 opened this issue May 26, 2023 · 0 comments
Closed

Add a warning if a meta is repeated on the same device #219

lorenzo93 opened this issue May 26, 2023 · 0 comments

Comments

@lorenzo93
Copy link
Member

lorenzo93 commented May 26, 2023

Currently, if a user specifies the same meta (e.g., [image]) multiple times for the same device in the lab.conf configuration file, Kathará silently selects the second option (based on line number) and executes the lab with that setting. This behavior can lead to confusion and unintended configurations.

To address this issue, we need to implement a check for duplicate meta in the lab.conf file. If duplicates are found, a warning should be raised to alert the user about the malformed configuration.

By implementing this check, we ensure that the lab.conf file maintains consistency and avoids any unintended configurations caused by duplicate meta entries for the same device.

@lorenzo93 lorenzo93 converted this from a draft issue May 26, 2023
@lorenzo93 lorenzo93 added this to the Release 3.6.5 milestone May 26, 2023
@Skazza94 Skazza94 changed the title Add a warning two images are specified for the same device Add a warning if a meta is repeated on the same device May 28, 2023
@Skazza94 Skazza94 self-assigned this May 28, 2023
@Skazza94 Skazza94 moved this from In Progress to Done in Kathara Framework Development Board May 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants