public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH 1/3] test: Fix name of CI asciinema player in perf links handler
@ 2022-02-23 10:04 Stefano Brivio
  2022-02-23 10:04 ` [PATCH 2/3] netlink: Avoid left-over bytes in request on MTU configuration Stefano Brivio
  2022-02-23 10:04 ` [PATCH 3/3] conf, ndp: Disable router advertisements on --config-net Stefano Brivio
  0 siblings, 2 replies; 3+ messages in thread
From: Stefano Brivio @ 2022-02-23 10:04 UTC (permalink / raw)
  To: passt-dev

[-- Attachment #1: Type: text/plain, Size: 787 bytes --]

Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com>
---
 test/lib/perf_report | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/test/lib/perf_report b/test/lib/perf_report
index 9117046..f1d3ab9 100755
--- a/test/lib/perf_report
+++ b/test/lib/perf_report
@@ -114,11 +114,10 @@ for (var i = 0; i < perf_links.length; i++) {
 		}
 
 		event.preventDefault();
-		ci_video_player.dispose();
-		ci_video_player = AsciinemaPlayer.create(
-			"/builds/latest/web/ci.cast",
-			ci_video,
-			{ startAt: seek, autoplay: true });
+		ci_player.dispose();
+		ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
+						   ci_video,
+						   { startAt: seek, autoplay: true });
 
 		window.scrollTo({ top: top, behavior: "smooth" })
 	}, false);
-- 
@@ -114,11 +114,10 @@ for (var i = 0; i < perf_links.length; i++) {
 		}
 
 		event.preventDefault();
-		ci_video_player.dispose();
-		ci_video_player = AsciinemaPlayer.create(
-			"/builds/latest/web/ci.cast",
-			ci_video,
-			{ startAt: seek, autoplay: true });
+		ci_player.dispose();
+		ci_player = AsciinemaPlayer.create("/builds/latest/web/ci.cast",
+						   ci_video,
+						   { startAt: seek, autoplay: true });
 
 		window.scrollTo({ top: top, behavior: "smooth" })
 	}, false);
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-23 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 10:04 [PATCH 1/3] test: Fix name of CI asciinema player in perf links handler Stefano Brivio
2022-02-23 10:04 ` [PATCH 2/3] netlink: Avoid left-over bytes in request on MTU configuration Stefano Brivio
2022-02-23 10:04 ` [PATCH 3/3] conf, ndp: Disable router advertisements on --config-net Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).