Merge pull request #9764 from daehyeok/remove_dup

Remove duplicated if statement in `(p *Profile) IsValid()`.
pull/9723/head
Medya Ghazizadeh 2020-11-23 12:13:02 -08:00 committed by GitHub
commit beb4077379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -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
}