Skip to content

Commit

Permalink
Make Etcd's DataDirManager interface private
Browse files Browse the repository at this point in the history
  • Loading branch information
totherme authored and hoegaarden committed Nov 28, 2017
1 parent c5d3874 commit 59630f0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/framework/test/etcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ type Etcd struct {
session *gexec.Session
stdOut *gbytes.Buffer
stdErr *gbytes.Buffer
dataDirManager DataDirManager
dataDirManager dataDirManager
}

// DataDirManager knows how to create and destroy Etcd's data directory.
type DataDirManager interface {
type dataDirManager interface {
Create() (string, error)
Destroy() error
}
Expand Down

0 comments on commit 59630f0

Please sign in to comment.