提交 2cd34b7c 编写于 作者: D Daehyeok Mun

Remove duplicated if statement in `(p *Profile) IsValid()`.

上级 9fc4b2c1
......@@ -35,9 +35,6 @@ var keywords = []string{"start", "stop", "status", "delete", "config", "open", "
// IsValid checks if the profile has the essential info needed for a profile
func (p *Profile) IsValid() bool {
if p.Config == nil {
return false
}
if p.Config == nil {
return false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册