Skip to content

Commit

Permalink
rollback to central lib
Browse files Browse the repository at this point in the history
  • Loading branch information
niean committed Jun 9, 2015
1 parent 651b76b commit e92a95d
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 60 deletions.
4 changes: 2 additions & 2 deletions collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"bytes"
"encoding/json"
"fmt"
cron "github.com/niean/cron"
nhttpclient "github.com/niean/gotools/http/httpclient"
"github.com/open-falcon/common/model"
"github.com/open-falcon/task/g"
"github.com/open-falcon/task/proc"
sema "github.com/toolkits/concurrent/semaphore"
cron "github.com/toolkits/cron"
nhttpclient "github.com/toolkits/http/httpclient"
"io/ioutil"
"log"
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion g/g.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
// 0.0.3: add readme, add gitversion, modify proc, add config reload
// 0.0.4: make collector configurable, add monitor cron, adjust index db
// Changes: send turning-ok only after alarm happens, add conn timeout for http
// maybe fix bug of 'too many open files'
// maybe fix bug of 'too many open files', rollback to central lib
const (
VERSION = "0.0.4"
)
Expand Down
2 changes: 1 addition & 1 deletion g/git.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package g
const (
COMMIT = "41e56f8"
COMMIT = "651b76b"
)
2 changes: 1 addition & 1 deletion index/index_delete_task.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package index

import (
cron "github.com/niean/cron"
Mdb "github.com/open-falcon/common/db"
"github.com/open-falcon/task/proc"
TSemaphore "github.com/toolkits/concurrent/semaphore"
cron "github.com/toolkits/cron"
"log"
"time"
)
Expand Down
47 changes: 0 additions & 47 deletions index/index_update_all.py

This file was deleted.

4 changes: 2 additions & 2 deletions index/index_update_all_task.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package index
import (
"encoding/json"
"fmt"
cron "github.com/niean/cron"
nhttpclient "github.com/niean/gotools/http/httpclient"
"github.com/open-falcon/task/g"
"github.com/open-falcon/task/proc"
cron "github.com/toolkits/cron"
nhttpclient "github.com/toolkits/http/httpclient"
"io/ioutil"
"log"
"net/http"
Expand Down
10 changes: 5 additions & 5 deletions monitor/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package monitor
import (
"bytes"
"fmt"
ncron "github.com/niean/cron"
nsema "github.com/niean/gotools/concurrent/semaphore"
nmap "github.com/niean/gotools/container/nmap"
nhttpclient "github.com/niean/gotools/http/httpclient"
ntime "github.com/niean/gotools/time"
"github.com/open-falcon/task/g"
"github.com/open-falcon/task/proc"
nsema "github.com/toolkits/concurrent/semaphore"
nmap "github.com/toolkits/container/nmap"
ncron "github.com/toolkits/cron"
nhttpclient "github.com/toolkits/http/httpclient"
ntime "github.com/toolkits/time"
"io/ioutil"
"log"
"net/http"
Expand Down
2 changes: 1 addition & 1 deletion proc/proc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package proc

import (
nproc "github.com/niean/gotools/proc"
nproc "github.com/toolkits/proc"
"log"
"time"
)
Expand Down

0 comments on commit e92a95d

Please sign in to comment.