Merge pull request #44 from CarlJi/0617
do not print host for goc agent by default
This commit is contained in:
commit
16fa2a5322
@ -9,12 +9,9 @@
|
|||||||
goc is a comprehensive coverage testing system for The Go Programming Language, especially for some complex scenarios,like system testing code coverage collection and
|
goc is a comprehensive coverage testing system for The Go Programming Language, especially for some complex scenarios,like system testing code coverage collection and
|
||||||
accurate testing.
|
accurate testing.
|
||||||
|
|
||||||
|
Enjoy, Have Fun!
|
||||||

|

|
||||||
|
|
||||||
> **Note:**
|
|
||||||
>
|
|
||||||
> This readme and related documentation are Work in Progress.
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
To install goc tool, you need to install Go first (**version 1.11+ is required**), then:
|
To install goc tool, you need to install Go first (**version 1.11+ is required**), then:
|
||||||
|
|
||||||
@ -59,5 +56,7 @@ Goc can collect code coverages at runtime for your long-run golang applications.
|
|||||||
## Contributing
|
## Contributing
|
||||||
We welcome all kinds of contribution, including bug reports, feature requests, documentation improvements, UI refinements, etc.
|
We welcome all kinds of contribution, including bug reports, feature requests, documentation improvements, UI refinements, etc.
|
||||||
|
|
||||||
|
Thanks to all [contributors](https://github.com/qiniu/goc/graphs/contributors)!!
|
||||||
|
|
||||||
## License
|
## License
|
||||||
Goc is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/qiniu/goc/blob/master/LICENSE)
|
Goc is released under the Apache 2.0 license. See [LICENSE.txt](https://github.com/qiniu/goc/blob/master/LICENSE)
|
@ -148,7 +148,6 @@ func registerHandlers() {
|
|||||||
log.Fatalf("listen failed, err:%v", err)
|
log.Fatalf("listen failed, err:%v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Printf("[goc] goc agent listened on: %s \n", host)
|
|
||||||
profileAddr := "http://" + host
|
profileAddr := "http://" + host
|
||||||
if resp, err := registerSelf(profileAddr); err != nil {
|
if resp, err := registerSelf(profileAddr); err != nil {
|
||||||
log.Fatalf("register address %v failed, err: %v, response: %v", profileAddr, err, string(resp))
|
log.Fatalf("register address %v failed, err: %v, response: %v", profileAddr, err, string(resp))
|
||||||
|
Loading…
Reference in New Issue
Block a user