File 0001-Use-Mojolicious-Routes-Route-any-instead-of-deprecat.patch of Package os-autoinst.17255
From 5f34396d60ac871e0000f72c7bd604e7cb1e1919 Mon Sep 17 00:00:00 2001
From: Marius Kittler <mkittler@suse.de>
Date: Thu, 14 Jan 2021 16:57:43 +0100
Subject: [PATCH] =?UTF-8?q?Use=20Mojolicious::Routes::Route::any=20instead?=
=?UTF-8?q?=20of=20deprecated=20=E2=80=A6::route?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Otherwise
```
Mojolicious::Routes::Route::route is DEPRECATED in favor of Mojolicious::Routes::Route::any at …/commands.pm line 253.
```
shows up in the log.
---
commands.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commands.pm b/commands.pm
index 434ae7f7..c67d4268 100644
--- a/commands.pm
+++ b/commands.pm
@@ -250,7 +250,7 @@ sub run_daemon {
my $r = app->routes;
$r->namespaces(['OpenQA']);
- my $token_auth = $r->route("/$bmwqemu::vars{JOBTOKEN}");
+ my $token_auth = $r->any("/$bmwqemu::vars{JOBTOKEN}");
# for access all data as CPIO archive
$token_auth->get('/data' => \&test_data);
--
2.34.1