Remove duplicated if statement in `(p *Profile) IsValid()`.
parent
9fc4b2c11d
commit
2cd34b7c36
|
@ -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