1
0
mirror of synced 2026-02-13 21:16:57 +00:00

make flux bootstrap and install generation more consistent

Signed-off-by: Jack Evans <jack.evans1@ibm.com>
This commit is contained in:
Jack Evans
2021-11-08 16:21:02 +00:00
parent 83dc3e6093
commit 923a5882de
4 changed files with 15 additions and 6 deletions

View File

@@ -41,5 +41,10 @@ func TestGenerate(t *testing.T) {
t.Errorf("toleration key '%s' not found", opts.TolerationKeys[0])
}
warning := GetGenWarning(opts)
if !strings.HasPrefix(output.Content, warning) {
t.Errorf("Generation warning '%s' not found", warning)
}
fmt.Println(output)
}