search: fix error message

Change-Id: Ic89e3a32a919414746eeb1c96f3b694fabf9798a
This commit is contained in:
Brad Fitzpatrick 2013-02-07 19:20:37 -08:00
parent 4e5d32d7c3
commit f8639c5c5c
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}