From f8639c5c5ccc4d608bea963f6495350e9b6765cd Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 7 Feb 2013 19:20:37 -0800 Subject: [PATCH] search: fix error message Change-Id: Ic89e3a32a919414746eeb1c96f3b694fabf9798a --- pkg/search/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/search/handler.go b/pkg/search/handler.go index c04ddd9ae..03b4da1a9 100644 --- a/pkg/search/handler.go +++ b/pkg/search/handler.go @@ -785,7 +785,7 @@ func (dr *DescribeRequest) describeReally(br *blobref.BlobRef, depth int) { des.File, err = dr.sh.index.GetFileInfo(br) if err != nil { if os.IsNotExist(err) { - log.Printf("index.GetFileInfo(directory %s) failed; index stale?", br) + log.Printf("index.GetFileInfo(file %s) failed; index stale?", br) } else { dr.addError(br, err) }