Fix glance-registry API HTTP return code

Change-Id: Ia807d41dfb3e8e2bfc227d89f1c37cda8d080749
diff --git a/glance/meta/telegraf.yml b/glance/meta/telegraf.yml
index b686426..118af2e 100644
--- a/glance/meta/telegraf.yml
+++ b/glance/meta/telegraf.yml
@@ -8,5 +8,5 @@
         expected_code: 300
       glance-registry:
         address: "http://{{ server.bind.address|replace('0.0.0.0', '127.0.0.1') }}:{{ server.registry.port }}/"
-        expected_code: 300
-{%- endif %}
\ No newline at end of file
+        expected_code: 401
+{%- endif %}