Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from parkervcp/feature/use-config
Browse files Browse the repository at this point in the history
actually use zap correctly.
  • Loading branch information
DaneEveritt authored Mar 19, 2019
2 parents a463aaf + d1e12e1 commit 1e2ab56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ func main() {
logger.Get().Debugw("could not find sftp port, falling back to \"2022\"", zap.Error(err))
} else {
// set bindPort to the confPort value
logger.Get().Infow("using config daemon port", zap.String("port", zap.int(confPort))
logger.Get().Infow("using config daemon port", zap.Int("port", int(confPort)))
bindPort = int(confPort)
}
}
}

uid, _ := strconv.Atoi(u.Uid)
Expand Down

0 comments on commit 1e2ab56

Please sign in to comment.