提交 4d4874e7 编写于 作者: M Medya Gh

make unique profile name hostname friendly

上级 a5e07807
......@@ -56,6 +56,6 @@ func UniqueProfileName(prefix string) string {
if NoneDriver() {
return "minikube"
}
return fmt.Sprintf("%s-%s-%d", prefix, time.Now().Format("20060102T150405.9999"), os.Getpid())
// example: prefix-20200413T162239-3215
return fmt.Sprintf("%s-%s-%d", prefix, time.Now().Format("20060102T150405"), os.Getpid())
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册