Skip to content

Commit

Permalink
fix restore error info (#19430)
Browse files Browse the repository at this point in the history
fix restore error info

Approved by: @daviszhen
  • Loading branch information
YANGGMM authored Oct 18, 2024
1 parent 92bbacb commit 13e946c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/frontend/pitr.go
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ func doRestorePitr(ctx context.Context, ses *Session, stmt *tree.RestorePitr) (e
return rtnErr
}
if !accountExist {
return moerr.NewInternalErrorf(ctx, "account `%s` does not exists at timestamp: %v", tenantInfo.GetTenant(), nanoTimeFormat(ts))
return moerr.NewInternalErrorf(ctx, "account `%s` does not exists at timestamp: %v", fromAccount, nanoTimeFormat(ts))
}
// mock snapshot
var snapshotName string
Expand Down

0 comments on commit 13e946c

Please sign in to comment.