From 7754b368c5b63655641026bb44928611dd08c37c Mon Sep 17 00:00:00 2001
From: Daniel Bengtsson <dbengt@redhat.com>
Date: Wed, 3 Mar 2021 11:18:51 +0100
Subject: [PATCH] Fix the syntax for groups in documentation.

The groups list must be in the metadata.

Change-Id: Id64f71ad8fc02db84a18a27923919b9b03072bb3
---
 validations_libs/validation.py | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/validations_libs/validation.py b/validations_libs/validation.py
index ce4a7d80..dba618ba 100644
--- a/validations_libs/validation.py
+++ b/validations_libs/validation.py
@@ -61,9 +61,9 @@ class Validation(object):
             metadata:
               name: Hello World
               description: This validation prints Hello World!
-            groups:
-              - pre-deployment
-              - hardware
+              groups:
+                - pre-deployment
+                - hardware
           roles:
           - hello-world
 
@@ -93,9 +93,9 @@ class Validation(object):
                 metadata:
                   name: hello world
                   description: this validation prints hello world!
-                groups:
-                  - pre-deployment
-                  - hardware
+                  groups:
+                    - pre-deployment
+                    - hardware
               roles:
               - hello-world
 
@@ -115,9 +115,9 @@ class Validation(object):
                 metadata:             <====
                   name: hello world
                   description: this validation prints hello world!
-                groups:
-                  - pre-deployment
-                  - hardware
+                  groups:
+                    - pre-deployment
+                    - hardware
               roles:
               - hello-world