Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed: define "embed.CompactorMode*" #9247

Merged
merged 2 commits into from
Jan 30, 2018
Merged

Conversation

gyuho
Copy link
Contributor

@gyuho gyuho commented Jan 29, 2018

Go internal packages cannot be imported by external projects. So, define compactor mode variable in embed packages. It broke https://travis-ci.org/coreos/etcdlabs/jobs/334931774#L467.

@gyuho gyuho requested a review from xiang90 January 29, 2018 23:32
embed/config.go Outdated
@@ -82,6 +83,11 @@ var (
defaultHostStatus error
)

var (
CompactorModePeriodic = compactor.ModePeriodic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you comment on this public facing variable?

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
@gyuho
Copy link
Contributor Author

gyuho commented Jan 29, 2018

@xiang90 PTAL.

@xiang90
Copy link
Contributor

xiang90 commented Jan 30, 2018

lgtm

@gyuho gyuho merged commit 42ef97d into etcd-io:master Jan 30, 2018
@gyuho gyuho deleted the internal-compactor branch January 30, 2018 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants