Skip to content

Commit 13a378b

Browse files
committed
Merged in feature/SCFF-41 (pull request #22)
SCFF-41 changed the Nozzle's version to 0.1.0 and renamed the zip file in the tile file
2 parents be0fd5d + 7c8d0f2 commit 13a378b

5 files changed

Lines changed: 6 additions & 31 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
product/
22
release/
3-
firehose-to-sumologic.zip
43
event.db
4+
firehose-to-sumologic.zip
5+
tile-history.yml
6+
sumo-logic-nozzle.zip
57

main.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"fmt"
55
"io/ioutil"
66
"os"
7-
"runtime"
87
"time"
98

109
"bitbucket.org/mcplusa-ondemand/firehose-to-sumologic/caching"
@@ -39,7 +38,7 @@ var (
3938
)
4039

4140
var (
42-
version = "0.1"
41+
version = "0.1.0"
4342
)
4443

4544
func main() {
@@ -49,8 +48,6 @@ func main() {
4948
kingpin.Version(version)
5049
kingpin.Parse()
5150

52-
runtime.GOMAXPROCS(1)
53-
5451
logging.Info.Println("Set Configurations:")
5552
logging.Info.Println("CF API Endpoint: t" + *apiEndpoint)
5653
logging.Info.Println("Sumo Logic Endpoint: " + *sumoEndpoint)

sumoCFFirehose/sumoLogicAppender.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"encoding/json"
77
"errors"
88
"net/http"
9-
"runtime"
109
"strings"
1110
"time"
1211

@@ -61,7 +60,6 @@ func newBuffer() SumoBuffer {
6160

6261
func (s *SumoLogicAppender) Start() {
6362
s.timerBetweenPost = time.Now()
64-
runtime.GOMAXPROCS(1)
6563
Buffer := newBuffer()
6664
Buffer.timerIdlebuffer = time.Now()
6765
logging.Info.Println("Starting Appender Worker")

tile-history.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

tile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ packages:
3131
manifest:
3232
# any options that you would normally specify in a cf manifest.yml, including</i>
3333
buildpack: https://github.com/cloudfoundry/go-buildpack.git
34-
command: firehose-to-sumologic
35-
path: firehose-to-sumologic.zip
34+
command: sumo-logic-nozzle
35+
path: sumo-logic-nozzle.zip
3636
health_check: none
3737
needs_cf_credentials: true
3838
enable_global_access_to_plans: true

0 commit comments

Comments
 (0)