Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from vbatts/update_example
Browse files Browse the repository at this point in the history
README: make example more cut'n'paste'able
  • Loading branch information
jonboulle committed Sep 14, 2016
2 parents a6fc46a + a8e83a9 commit 68a667d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -53,8 +53,8 @@ handler := &tcmu.SCSIHandler{
HBA: 30, // Choose a virtual HBA number. 30 is fine.
LUN: 0, // The LUN attached to this HBA. Multiple LUNs can work on the same HBA, this differentiates them.
WWN: tcmu.NaaWWN{
OUI: "000000", // Or provide your OUI
VendorID: GenerateSerial("foobar"), // Or provide a vendor id/serial number
OUI: "000000", // Or provide your OUI
VendorID: tcmu.GenerateSerial("foobar"), // Or provide a vendor id/serial number
// Optional: Provide further information for your WWN
// VendorIDExt: "0123456789abcdef",
},
Expand All @@ -64,7 +64,7 @@ handler := &tcmu.SCSIHandler{
BlockSize: 1024, // Size of logical blocks, eg, 1K
},
DevReady: tcmu.SingleThreadedDevReady(
ReadWriterAtCmdHandler{ // Or replace with your own handler
tcmu.ReadWriterAtCmdHandler{ // Or replace with your own handler
RW: rw,
}),
}
Expand Down

0 comments on commit 68a667d

Please sign in to comment.