Skip to content

Commit

Permalink
driver: add version information for each log
Browse files Browse the repository at this point in the history
closes #64
  • Loading branch information
fatih committed Aug 23, 2018
1 parent b73826b commit a3e242c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## unreleased

* Add version information to logs
[[GH-65]](https://github.com/digitalocean/csi-digitalocean/pull/65)

## v0.1.4 - 2018.08.23

* Add logs to mount operations
Expand Down
1 change: 1 addition & 0 deletions driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func NewDriver(ep, token, url string) (*Driver, error) {
log := logrus.New().WithFields(logrus.Fields{
"region": region,
"node_id": nodeId,
"version": version,
})

return &Driver{
Expand Down

0 comments on commit a3e242c

Please sign in to comment.