mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-05 13:11:30 +00:00
Unwanted declaration causing compilation issues with gccgo
Signed-off-by: Srini Brahmaroutu <srbrahma@us.ibm.com>
This commit is contained in:
@@ -18,9 +18,7 @@ func TestShutdownEmpty(t *testing.T) {
|
||||
|
||||
func TestShutdownAfterRun(t *testing.T) {
|
||||
eng := New()
|
||||
var called bool
|
||||
eng.Register("foo", func(job *Job) error {
|
||||
called = true
|
||||
return nil
|
||||
})
|
||||
if err := eng.Job("foo").Run(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user