Commit 060bd5a6 authored by Dietmar Maurer's avatar Dietmar Maurer

fix UPID parser for long uptimes

parent e166c931
pve-manager (3.1-24) unstable; urgency=low
* fix IP address parser for OpenVZ containers
* fix UPID parser for long uptimes (> 497 days)
-- Proxmox Support Team <support@proxmox.com> Wed, 06 Nov 2013 10:48:19 +0100
......
......@@ -561,7 +561,7 @@ Ext.define('PVE.Utils', { statics: {
parse_task_upid: function(upid) {
var task = {};
var res = upid.match(/^UPID:(\S+):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/);
var res = upid.match(/^UPID:(\S+):([0-9A-Fa-f]{8}):([0-9A-Fa-f]{8,9}):([0-9A-Fa-f]{8}):([^:\s]+):([^:\s]*):([^:\s]+):$/);
if (!res) {
throw "unable to parse upid '" + upid + "'";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment