diff --git a/glean/glass/Glean/Glass/Handler.hs b/glean/glass/Glean/Glass/Handler.hs index 13f2d3116..8a4d1f77b 100644 --- a/glean/glass/Glean/Glass/Handler.hs +++ b/glean/glass/Glean/Glass/Handler.hs @@ -963,7 +963,7 @@ fetchSymbolsAndAttributes tracer scm repoMapping dbInfo req opts be Right result -> return (( result - , Snapshot.Latest (documentSymbolListXResult_revision result) + , Snapshot.Latest , QueryEachRepoUnrequested) , Nothing) Left _ -> diff --git a/glean/glass/Glean/Glass/Logging.hs b/glean/glass/Glean/Glass/Logging.hs index 0e553c472..9ff1b739a 100644 --- a/glean/glass/Glean/Glass/Logging.hs +++ b/glean/glass/Glean/Glass/Logging.hs @@ -434,5 +434,4 @@ logSnapshotStatus st = case st of NotFound -> Logger.setSnapshot "Not found" ExactMatch -> Logger.setSnapshot "Exact" Ignored -> Logger.setSnapshot "Ignored" - Latest rev -> - Logger.setSnapshot (unRevision rev) + Latest -> Logger.setSnapshot "Latest" diff --git a/glean/glass/Glean/Glass/SnapshotBackend.hs b/glean/glass/Glean/Glass/SnapshotBackend.hs index 1948057ac..fdf668492 100644 --- a/glean/glass/Glean/Glass/SnapshotBackend.hs +++ b/glean/glass/Glean/Glass/SnapshotBackend.hs @@ -52,7 +52,7 @@ data SnapshotStatus | NotFound | ExactMatch | Ignored - | Latest Revision + | Latest deriving Show -- | Always produces the 'NilSnapshotBackend'