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

Rename dumptsmdev to dumptsm in influx_inspect #6883

Merged
merged 1 commit into from
Jun 21, 2016

Conversation

jsternberg
Copy link
Contributor

Removes the old implementation of dumptsm. It was for an older version
of the tsm1 files that is no longer used and now just panics when used
on a tsm1 file. dumptsmdev has been renamed to dumptsm, but the old
dumptsmdev command still works for compatibility.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @joelegasse to be a potential reviewer

@jsternberg jsternberg force-pushed the js-influx-inspect-dumptsm branch 2 times, most recently from a4edf74 to 13869c7 Compare June 21, 2016 03:21
@@ -49,7 +48,7 @@ func main() {
os.Exit(1)
}
cmdInfo(path)
case "dumptsm":
case "dumptsm", "dumptsmdev":
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 log a warning that dumptsmdev is deprecated and to use dumptsm going forward?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@jwilder
Copy link
Contributor

jwilder commented Jun 21, 2016

I think readFields and readIndex are now dead code too and can be removed.

Removes the old implementation of `dumptsm`. It was for an older version
of the tsm1 files that is no longer used and now just panics when used
on a tsm1 file. dumptsmdev has been renamed to `dumptsm`, but the old
`dumptsmdev` command still works for compatibility.
@jsternberg jsternberg force-pushed the js-influx-inspect-dumptsm branch from 13869c7 to 2a1e653 Compare June 21, 2016 15:31
@jsternberg
Copy link
Contributor Author

Yep. I removed all of the stuff deadcode told me about (running iteratively after I removed each thing it reported).

@jwilder
Copy link
Contributor

jwilder commented Jun 21, 2016

👍 on green.

@jsternberg jsternberg merged commit 0ac9ab0 into master Jun 21, 2016
@jsternberg jsternberg deleted the js-influx-inspect-dumptsm branch June 21, 2016 15:45
@timhallinflux timhallinflux added this to the 1.0.0 milestone Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants