diff --git a/src/volumes.js b/src/volumes.js index b5e4597ae..753568ec6 100644 --- a/src/volumes.js +++ b/src/volumes.js @@ -63,7 +63,7 @@ function add(name, hostPath, auditSource, callback) { error = validateHostPath(hostPath); if (error) return callback(error); - const id = uuid(); + const id = uuid.v4(); volumedb.add(id, name, hostPath, function (error) { if (error) return callback(error);