it is uuid.v4() now

This commit is contained in:
Girish Ramakrishnan
2021-02-17 23:14:47 -08:00
parent 32e00bdf47
commit 601fc9a202
+1 -1
View File
@@ -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);