From 09cd4402202209a53870be4e76894a7f4d227cd7 Mon Sep 17 00:00:00 2001 From: Joao Fernandes Date: Tue, 25 Oct 2016 11:30:26 -0700 Subject: [PATCH] Fix code block rendering in dtr/release-notes --- docker-trusted-registry/release-notes/prior-release-notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-trusted-registry/release-notes/prior-release-notes.md b/docker-trusted-registry/release-notes/prior-release-notes.md index 5e9e4d8b10..b421fd7c15 100644 --- a/docker-trusted-registry/release-notes/prior-release-notes.md +++ b/docker-trusted-registry/release-notes/prior-release-notes.md @@ -106,9 +106,9 @@ Settings > Auth to perform the sync. * Fixed an issue where Trusted Registry administrators could not list all repositories in the registries. To list them, you must use the `catalog` API using a `bash` shell. The following example lists repositories in a Trusted Registry located at my.dtr.host where the user `admin` has password `password`. - ``` +```none bash -c 'host=vagrant.host admin=admin password=password token=$(curl -u $admin:$password -k "https://$host/auth/token?service=$host&scope=registry:catalog:*" | python2 -c "import json,sys;obj=json.load(sys.stdin);print obj[\"token\"]") && curl -k -H "Authorization: Bearer $token" "https://$host/v2/_catalog"' - ``` +``` ## Version 1.4.3