From 96eba520dbd61d80d61652575d2832ef4e2e371b Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Tue, 22 Mar 2016 02:12:40 -0300 Subject: [PATCH] go fmt --- overlord/state/task.go | 1 - overlord/state/task_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/overlord/state/task.go b/overlord/state/task.go index 3ae44835d0..91a0da5b7a 100644 --- a/overlord/state/task.go +++ b/overlord/state/task.go @@ -22,7 +22,6 @@ package state import ( "encoding/json" "fmt" - ) type progress struct { diff --git a/overlord/state/task_test.go b/overlord/state/task_test.go index f4136398da..51b6afd56b 100644 --- a/overlord/state/task_test.go +++ b/overlord/state/task_test.go @@ -213,7 +213,7 @@ func (ts *taskSuite) TestNeedsLock(c *C) { t2 := st.NewTask("install", "2...") st.Unlock() - funcs := []func() { + funcs := []func(){ func() { t1.Status() }, func() { t1.SetStatus(state.DoneStatus) }, func() { t1.Set("a", 1) },