diff --git a/lib/datasource/maven/index.js b/lib/datasource/maven/index.js index ca7246f3c1951f3c6ff2a6034a2fb11f4c6351a8..80ff1e92f76aff54edaa01fb9767fa13c34e18d7 100644 --- a/lib/datasource/maven/index.js +++ b/lib/datasource/maven/index.js @@ -138,7 +138,7 @@ async function downloadHttpProtocol(pkgUrl) { if (isNotFoundError(err)) { logger.debug(`Url not found ${pkgUrl}`); } else if (isPermissionsIssue(err)) { - logger.info( + logger.warn( { pkgUrl }, 'Dependency lookup unauthorized. Please add authentication with a hostRule' ); diff --git a/website/docs/configuration-options.md b/website/docs/configuration-options.md index 601416e335cb4c47ac5932284ef10c6246a4490c..ea67b18685cf3eb9f1a8707ce788587f2c6e2d96 100644 --- a/website/docs/configuration-options.md +++ b/website/docs/configuration-options.md @@ -280,11 +280,13 @@ Example for configuring `docker` auth: ```json { - "hostRules": { - "platform": "docker", - "username": "<some-username>", - "password": "<some-password>" - } + "hostRules": [ + { + "platform": "docker", + "username": "<some-username>", + "password": "<some-password>" + } + ] } ```