Skip to content

Commit

Permalink
rm log
Browse files Browse the repository at this point in the history
  • Loading branch information
philchia committed Nov 29, 2019
1 parent 90921f1 commit f66eb63
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"context"
"encoding/json"
"fmt"
"log"
"net/http"
"os"
"path"
Expand Down Expand Up @@ -92,7 +91,6 @@ func (c *Client) Stop() error {
// fetchAllCinfig fetch from remote, if failed load from local file
func (c *Client) preload() error {
if err := c.longPoller.preload(); err != nil {
log.Println("[agollo] err preload:", err)
return c.loadLocal(c.getDumpFileName())
}
return nil
Expand Down
2 changes: 0 additions & 2 deletions conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package agollo

import (
"encoding/json"
"fmt"
"os"
)

Expand All @@ -19,7 +18,6 @@ type Conf struct {
func NewConf(name string) (*Conf, error) {
f, err := os.Open(name)
if err != nil {
fmt.Println("err:", err)
return nil, err
}
defer f.Close()
Expand Down

0 comments on commit f66eb63

Please sign in to comment.