it is uuid.v4() now
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ function add(name, hostPath, auditSource, callback) {
|
|||||||
error = validateHostPath(hostPath);
|
error = validateHostPath(hostPath);
|
||||||
if (error) return callback(error);
|
if (error) return callback(error);
|
||||||
|
|
||||||
const id = uuid();
|
const id = uuid.v4();
|
||||||
|
|
||||||
volumedb.add(id, name, hostPath, function (error) {
|
volumedb.add(id, name, hostPath, function (error) {
|
||||||
if (error) return callback(error);
|
if (error) return callback(error);
|
||||||
|
|||||||
Reference in New Issue
Block a user