mirror of https://github.com/docker/docs.git
Fix typos in comments of src/utils.
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This commit is contained in:
parent
902fb2ec66
commit
5a2baa1369
|
|
@ -91,7 +91,7 @@ export default {
|
|||
try {
|
||||
setupServerActions.started({started: false});
|
||||
|
||||
// Make sure virtulBox and docker-machine are installed
|
||||
// Make sure virtualBox and docker-machine are installed
|
||||
let virtualBoxInstalled = virtualBox.installed();
|
||||
let machineInstalled = machine.installed();
|
||||
if (!virtualBoxInstalled || !machineInstalled) {
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ module.exports = {
|
|||
// An official repo is alphanumeric characters separated by dashes or
|
||||
// underscores.
|
||||
// Examples: myrepo, my-docker-repo, my_docker_repo
|
||||
// Non-exapmles: mynamespace/myrepo, my%!repo
|
||||
// Non-examples: mynamespace/myrepo, my%!repo
|
||||
var repoRegexp = /^[a-z0-9]+(?:[._-][a-z0-9]+)*$/;
|
||||
return repoRegexp.test(name);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue