You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@htrace.apache.org by cm...@apache.org on 2014/12/31 21:01:09 UTC
incubator-htrace git commit: HTRACE-39. Fix compilation of cmd.go on
go 1.4 (Masatake Iwasaki via Colin P. McCabe)
Repository: incubator-htrace
Updated Branches:
refs/heads/master 956ab1d55 -> d7207a5ae
HTRACE-39. Fix compilation of cmd.go on go 1.4 (Masatake Iwasaki via Colin P. McCabe)
Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/d7207a5a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/d7207a5a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/d7207a5a
Branch: refs/heads/master
Commit: d7207a5ae3133254db32f55a6ff2d9837af52836
Parents: 956ab1d
Author: Colin P. Mccabe <cm...@apache.org>
Authored: Wed Dec 31 12:00:46 2014 -0800
Committer: Colin P. Mccabe <cm...@apache.org>
Committed: Wed Dec 31 12:00:46 2014 -0800
----------------------------------------------------------------------
htrace-core/src/go/src/org/apache/htrace/htrace/cmd.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/d7207a5a/htrace-core/src/go/src/org/apache/htrace/htrace/cmd.go
----------------------------------------------------------------------
diff --git a/htrace-core/src/go/src/org/apache/htrace/htrace/cmd.go b/htrace-core/src/go/src/org/apache/htrace/htrace/cmd.go
index 9633ba3..0437628 100644
--- a/htrace-core/src/go/src/org/apache/htrace/htrace/cmd.go
+++ b/htrace-core/src/go/src/org/apache/htrace/htrace/cmd.go
@@ -54,11 +54,11 @@ func main() {
case version.FullCommand():
os.Exit(printVersion())
case serverInfo.FullCommand():
- os.Exit(printServerInfo(addr.String()))
+ os.Exit(printServerInfo((*addr).String()))
case findSpan.FullCommand():
- os.Exit(doFindSpan(addr.String(), *findSpanId))
+ os.Exit(doFindSpan((*addr).String(), *findSpanId))
case findChildren.FullCommand():
- os.Exit(doFindChildren(addr.String(), *parentSpanId, *childLim))
+ os.Exit(doFindChildren((*addr).String(), *parentSpanId, *childLim))
}
app.UsageErrorf(os.Stderr, "You must supply a command to run.")