Skip to content

Commit

Permalink
chore: remove redundant comments (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinhphuctadang authored and saniales committed Jan 19, 2023
1 parent ec608cc commit 11cf299
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mongobin/getOrDownload.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ func init() {
// at the given URL. If the URL has not yet been downloaded, it's downloaded
// and saved the the cache. If it has been downloaded, the existing mongod
// path is returned.
/*
Flow: URL (download url) -> check existence
exist: return mongo path
non-exist: http download -> save bin/mongod
*/
func GetOrDownloadMongod(urlStr string, cachePath string, logger *memongolog.Logger) (string, error) {
dirname, dirErr := directoryNameForURL(urlStr)
if dirErr != nil {
Expand Down

0 comments on commit 11cf299

Please sign in to comment.