include warning in comment

pull/10206/head
Priya Wadhwa 2021-01-21 13:45:43 -08:00
parent d8a0041907
commit 8a06745f2e
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ func testPulledImages(ctx context.Context, t *testing.T, profile string, version
// crictl includes warnings in STDOUT before printing JSON output
// this step trims the warnings before JSON output begins
// WARN[0000] image connect using default endpoints: [unix:///var/run/dockershim.sock unix:///run/containerd/containerd.sock unix:///run/crio/crio.sock]. As the default settings are now deprecated, you should set the endpoint instead.
stdout := rr.Stdout.String()
index := strings.Index(stdout, "{")
stdout = stdout[index:]