Skip to content

Commit

Permalink
refactor: rename parameter in func
Browse files Browse the repository at this point in the history
  • Loading branch information
gulivero1773 committed Apr 26, 2024
1 parent 27a124e commit b378cf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ public protocol PsqlRequestSendable {

/// Check connection description
/// - Returns: `String`
func checkConnection(for datname: String) async throws -> String
func checkConnection(for databaseName: String) async throws -> String
}
2 changes: 1 addition & 1 deletion Tests/HealthChecksTests/Mocks/PsqlRequestMock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public struct PsqlRequestMock: PsqlRequestSendable {
Constants.psqlVersionDescription
}

public func checkConnection(for datname: String) async throws -> String {
public func checkConnection(for databaseName: String) async throws -> String {
"active"
}
}

0 comments on commit b378cf5

Please sign in to comment.