chore: fix lint issues
This commit is contained in:
parent
17ea21a579
commit
7c37953c28
20 changed files with 136 additions and 131 deletions
|
@ -124,7 +124,7 @@ func testXMPPClient(config *Config) error {
|
|||
log.Printf("Using insecure TLS configuration (skipping certificate verification)")
|
||||
}
|
||||
tlsConfig := &tls.Config{
|
||||
InsecureSkipVerify: true,
|
||||
InsecureSkipVerify: true, //nolint:gosec // This is a testing tool for development environments
|
||||
}
|
||||
client = xmpp.NewClientWithTLS(
|
||||
config.Server,
|
||||
|
@ -302,7 +302,7 @@ func testMUCOperations(client *xmpp.Client, config *Config) error {
|
|||
}
|
||||
|
||||
start = time.Now()
|
||||
_, err = client.SendMessage(messageReq)
|
||||
_, err = client.SendMessage(&messageReq)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to send test message to room %s: %w", config.TestRoom, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue