aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/http.go')
-rw-r--r--routers/repo/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go
index 178ae92c1a..214cc9ba39 100644
--- a/routers/repo/http.go
+++ b/routers/repo/http.go
@@ -158,7 +158,7 @@ func HTTP(ctx *middleware.Context) {
}
if !isPull && repo.IsMirror {
- ctx.HandleText(401, "can't push to mirror")
+ ctx.HandleText(401, "mirror repository is read-only")
return
}
}