mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-02-02 04:33:19 +00:00
Fix format
This commit is contained in:
parent
02d9f5be00
commit
09030a8599
@ -510,9 +510,8 @@ const
|
||||
nimBanner* = getNimBanner()
|
||||
|
||||
codexFullVersion* =
|
||||
"Storage version: " & codexVersion & "\p" & "Storage revision: " &
|
||||
codexRevision & "\p" & "Storage contracts revision: " & codexContractsRevision &
|
||||
"\p" & nimBanner
|
||||
"Storage version: " & codexVersion & "\p" & "Storage revision: " & codexRevision &
|
||||
"\p" & "Storage contracts revision: " & codexContractsRevision & "\p" & nimBanner
|
||||
|
||||
proc parseCmdArg*(
|
||||
T: typedesc[MultiAddress], input: string
|
||||
|
||||
@ -881,8 +881,7 @@ proc start*(self: CodexNodeRef) {.async.} =
|
||||
self.contracts.validator = ValidatorInteractions.none
|
||||
|
||||
self.networkId = self.switch.peerInfo.peerId
|
||||
notice "Started Storage node",
|
||||
id = self.networkId, addrs = self.switch.peerInfo.addrs
|
||||
notice "Started Storage node", id = self.networkId, addrs = self.switch.peerInfo.addrs
|
||||
|
||||
proc stop*(self: CodexNodeRef) {.async.} =
|
||||
trace "Stopping node"
|
||||
|
||||
@ -69,9 +69,7 @@ proc sanitize(pathSegment: string): string =
|
||||
sanitized
|
||||
|
||||
proc getTempDirName*(starttime: string, role: Role, roleIdx: int): string =
|
||||
getTempDir() / "Storage" / sanitize($starttime) / sanitize(
|
||||
$role & "_" & $roleIdx
|
||||
)
|
||||
getTempDir() / "Storage" / sanitize($starttime) / sanitize($role & "_" & $roleIdx)
|
||||
|
||||
template multinodesuite*(name: string, body: untyped) =
|
||||
asyncchecksuite name:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user