Merge pull request #9764 from daehyeok/remove_dup
Remove duplicated if statement in `(p *Profile) IsValid()`.pull/9723/head
commit
beb4077379
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue