Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix golint verify errors. #71294

Merged
merged 1 commit into from
Nov 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions pkg/cloudprovider/providers/aws/aws_fakes.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,10 @@ func (m *FakeMetadata) GetMetadata(key string) (string, error) {
}
}

return "", nil
} else {
return "", nil
}

return "", nil
}

// FakeELB is a fake ELB client used for testing
Expand Down
4 changes: 2 additions & 2 deletions pkg/volume/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,9 @@ func PathExists(path string) (bool, error) {
return false, nil
} else if IsCorruptedMnt(err) {
return true, err
} else {
return false, err
}

return false, err
}

// IsCorruptedMnt return true if err is about corrupted mount point
Expand Down