]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/pybind/mgr/dashboard/servers.html
update sources to v12.1.2
[ceph.git] / ceph / src / pybind / mgr / dashboard / servers.html
index 301bca24bbe120819e27a442aa0ca6ea56256f2b..e6c8b3cf603336ea9d55181b6209520ab463433d 100644 (file)
                 return strings.join(", ");
             };
 
-            rivets.formatters.short_version = function(version) {
-                // Expect "ceph version 1.2.3-g9asdasd (as98d7a0s8d7)"
-                var result = /ceph version\s+([^ ]+)\s+\(.+\)/.exec(version);
-                if (result) {
-                    // Return the "1.2.3-g9asdasd" part
-                    return result[1];
-                } else {
-                    // Unexpected format, pass it through
-                    return version;
-                }
-                return 
-            };
-
             rivets.bind($("#content"), content_data);
         });