Skip to content

Commit 2642183

Browse files
coryodanielclaude
andcommitted
Format Link header line
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent c48761a commit 2642183

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

lib/oci/plug/handler.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ defmodule OCI.Plug.Handler do
6363
conn =
6464
if pag.n != nil and length(tags) == pag.n do
6565
last = List.last(tags)
66-
link = "</#{Registry.api_version()}/#{repo}/tags/list?n=#{pag.n}&last=#{last}>; rel=\"next\""
66+
67+
link =
68+
"</#{Registry.api_version()}/#{repo}/tags/list?n=#{pag.n}&last=#{last}>; rel=\"next\""
69+
6770
put_resp_header(conn, "link", link)
6871
else
6972
conn

0 commit comments

Comments
 (0)