Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
erikstmartin committed Sep 17, 2012
1 parent dc6fdfd commit 494c918
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
14 changes: 7 additions & 7 deletions cmd/sky/cli.go
Expand Up @@ -267,15 +267,15 @@ func confirm(term *liner.State, msg string) bool {
} }


func filterDaemon(instances []*skynet.ServiceInfo) []*skynet.ServiceInfo { func filterDaemon(instances []*skynet.ServiceInfo) []*skynet.ServiceInfo {
filteredInstances := make([]*skynet.ServiceInfo, 0) filteredInstances := make([]*skynet.ServiceInfo, 0)


for _, i := range instances { for _, i := range instances {
if i.Config.Name != "SkynetDaemon" { if i.Config.Name != "SkynetDaemon" {
filteredInstances = append(filteredInstances, i) filteredInstances = append(filteredInstances, i)
} }
} }


return filteredInstances return filteredInstances
} }


func InteractiveShellHelp() { func InteractiveShellHelp() {
Expand Down
1 change: 0 additions & 1 deletion messages.go
Expand Up @@ -29,4 +29,3 @@ type ServiceRPCOut struct {
Out []byte Out []byte
ErrString string ErrString string
} }

2 changes: 1 addition & 1 deletion query.go
Expand Up @@ -81,7 +81,7 @@ func (q *Query) search() {
q.paths = make(map[string]*doozer.FileInfo, 0) q.paths = make(map[string]*doozer.FileInfo, 0)
q.files = make(map[string]*doozer.FileInfo, 0) q.files = make(map[string]*doozer.FileInfo, 0)


q.doozerRev = q.getCurrentDoozerRevision() q.doozerRev = q.getCurrentDoozerRevision()


path := q.makePath() path := q.makePath()


Expand Down

0 comments on commit 494c918

Please sign in to comment.