Skip to content

Commit

Permalink
add changelog entry and improve --debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
telyn committed Jan 9, 2019
1 parent 82bea0b commit 0b4609d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [0.2]
### Added
* Added `bytemark-cluster` flag to set the API endpoint to use.
* Supplying the `debug` flag now causes bytemark-client's debug output to be output too.

## [0.1]
### Added

Expand Down
2 changes: 2 additions & 0 deletions driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/BytemarkHosting/bytemark-client/lib"
"github.com/BytemarkHosting/bytemark-client/lib/brain"
bmlog "github.com/BytemarkHosting/bytemark-client/util/log"
"github.com/docker/machine/libmachine/drivers"
"github.com/docker/machine/libmachine/state"
)
Expand All @@ -28,6 +29,7 @@ type Driver struct {

// NewDriver creates a Driver with the specified storePath.
func NewDriver(machineName string, storePath string) *Driver {
bmlog.DebugLevel = 5
defaultDiscs := brain.Discs{
brain.Disc{
Label: "disk-1",
Expand Down

0 comments on commit 0b4609d

Please sign in to comment.