Skip to content

Commit 73d2f3c

Browse files
committed
tweak
Signed-off-by: Grant Linville <grant@acorn.io>
1 parent 0ee010f commit 73d2f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/handlers/wellknown/oauth.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func (h *handler) registryOAuthProtectedResource(req api.Context) error {
4747
if h.registryNoAuth {
4848
return &types.ErrHTTP{
4949
Code: http.StatusNotFound,
50-
Message: "Registry OAuth is not available in no-auth mode",
50+
Message: "Registry OAuth is not available when registry authentication is disabled",
5151
}
5252
}
5353

0 commit comments

Comments
 (0)