From d5e05d84d7eb0265be61e55149aa3941bc2827c4 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Fri, 13 Feb 2026 22:37:28 -0800 Subject: [PATCH] style: align const formatting in sra_transport.go Co-Authored-By: Claude Opus 4.6 --- weed/storage/sra_transport.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/weed/storage/sra_transport.go b/weed/storage/sra_transport.go index 74ddaef11..d20c5cff5 100644 --- a/weed/storage/sra_transport.go +++ b/weed/storage/sra_transport.go @@ -29,11 +29,11 @@ type SraTransport struct { // // Response: status(1) + pad(3) + request_id(4) = 8 bytes const ( - sraOpcodeReplicate uint8 = 0x03 - sraReplicateHeaderSize = 16 // opcode(1)+pad(3)+request_id(4)+volume_id(4)+target_host_len(4) - sraReplicateResponseSize = 8 - sraStatusOk uint8 = 0x00 - sraStatusError uint8 = 0xFF + sraOpcodeReplicate uint8 = 0x03 + sraReplicateHeaderSize = 16 // opcode(1)+pad(3)+request_id(4)+volume_id(4)+target_host_len(4) + sraReplicateResponseSize = 8 + sraStatusOk uint8 = 0x00 + sraStatusError uint8 = 0xFF ) var nextRequestId uint32