On Fri, Jan 15, 2021 at 05:18:16PM +0800, Ren Wen wrote:
testbox : libvirt-2p8g -> default queue : libvirt-2p8g.<arch>
Signed-off-by: Ren Wen 15991987063@163.com
src/lib/job.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/job.cr b/src/lib/job.cr index 1d25236..5667842 100644 --- a/src/lib/job.cr +++ b/src/lib/job.cr @@ -306,7 +306,7 @@ class Job
# set default value self["queue"] = tbox_group
- if tbox_group.to_s.starts_with?(/(vm|dc)-/)
- if tbox_group.to_s.starts_with?(/(vm|dc|libvirt)-/)
libvirt -> vt
Thanks, RenWen
self["queue"] = "#{tbox_group}.#{arch}" end
end
2.23.0