Permalink
Browse files

go fmt

  • Loading branch information...
1 parent dc6fdfd commit 494c918bd803ee3d29cacb6457d891023b1bda81 @erikstmartin erikstmartin committed Sep 17, 2012
Showing with 8 additions and 9 deletions.
  1. +7 −7 cmd/sky/cli.go
  2. +0 −1 messages.go
  3. +1 −1 query.go
View
@@ -267,15 +267,15 @@ func confirm(term *liner.State, msg string) bool {
}
func filterDaemon(instances []*skynet.ServiceInfo) []*skynet.ServiceInfo {
- filteredInstances := make([]*skynet.ServiceInfo, 0)
+ filteredInstances := make([]*skynet.ServiceInfo, 0)
- for _, i := range instances {
- if i.Config.Name != "SkynetDaemon" {
- filteredInstances = append(filteredInstances, i)
- }
- }
+ for _, i := range instances {
+ if i.Config.Name != "SkynetDaemon" {
+ filteredInstances = append(filteredInstances, i)
+ }
+ }
- return filteredInstances
+ return filteredInstances
}
func InteractiveShellHelp() {
View
@@ -29,4 +29,3 @@ type ServiceRPCOut struct {
Out []byte
ErrString string
}
-
View
@@ -81,7 +81,7 @@ func (q *Query) search() {
q.paths = 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()

0 comments on commit 494c918

Please sign in to comment.