Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
naqvis committed Nov 22, 2024
1 parent 82b96da commit 164b483
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/placeos-core-client.cr
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ module PlaceOS::Core
uri : URI,
request_id : String? = nil,
core_version : String = CORE_VERSION,
retries : Int32 = 10
retries : Int32 = 10,
&
)
client = new(uri, request_id, core_version, retries)
begin
Expand Down Expand Up @@ -239,7 +240,7 @@ module PlaceOS::Core
alias Processes = Hash(String, Array(String))

getter edge : Hash(String, Processes) = {} of String => Processes
getter local : Processes = Hash(String, Array(String)).new { |h, k| h[k] = [] of String }
getter local : Processes = Hash(String, Array(String)).new { |hash, key| hash[key] = [] of String }
end

# Returns the loaded modules on the node
Expand Down Expand Up @@ -314,6 +315,7 @@ module PlaceOS::Core

struct DriverStatus < BaseResponse
struct Metadata < BaseResponse
# ameba:disable Naming/QueryBoolMethods
getter running : Bool = false
getter module_instances : Int32 = -1
getter last_exit_code : Int32 = -1
Expand Down

0 comments on commit 164b483

Please sign in to comment.