Index: state/service.go |
=== modified file 'state/service.go' |
--- state/service.go 2013-01-09 14:44:51 +0000 |
+++ state/service.go 2013-01-17 12:10:18 +0000 |
@@ -238,7 +238,7 @@ |
func (s *Service) Refresh() error { |
err := s.st.services.FindId(s.doc.Name).One(&s.doc) |
if err == mgo.ErrNotFound { |
- return notFound("service %q", s) |
+ return notFoundf("service %q", s) |
} |
if err != nil { |
return fmt.Errorf("cannot refresh service %q: %v", s, err) |