Created
January 29, 2015 15:08
-
-
Save tomwhoiscontrary/50e19894d6c018fd6133 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/commands/execute.go b/commands/execute.go | |
index d1a30ca..9d51506 100644 | |
--- a/commands/execute.go | |
+++ b/commands/execute.go | |
@@ -96,8 +96,8 @@ func Execute(c *cli.Context) { | |
signal.Notify(terminate, syscall.SIGINT, syscall.SIGTERM) | |
eventSource := &sse.EventSource{ | |
- Client: atcRequester.httpClient, | |
- CreateRequest: func() *http.Request { | |
+ client: atcRequester.httpClient, | |
+ createRequest: func() *http.Request { | |
logOutput, err := atcRequester.CreateRequest( | |
atc.BuildEvents, | |
rata.Params{"build_id": strconv.Itoa(build.ID)}, | |
diff --git a/commands/watch.go b/commands/watch.go | |
index 03faae7..99942ae 100644 | |
--- a/commands/watch.go | |
+++ b/commands/watch.go | |
@@ -22,8 +22,8 @@ func Watch(c *cli.Context) { | |
build := getBuild(c, atcRequester.httpClient, atcRequester.RequestGenerator) | |
eventSource := &sse.EventSource{ | |
- Client: atcRequester.httpClient, | |
- CreateRequest: func() *http.Request { | |
+ client: atcRequester.httpClient, | |
+ createRequest: func() *http.Request { | |
logOutput, err := atcRequester.CreateRequest( | |
atc.BuildEvents, | |
rata.Params{"build_id": strconv.Itoa(build.ID)}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment