Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 1c13713

Browse files
author
Muhammad Ibrahim
committed
fixed nil issue
1 parent ddbf91f commit 1c13713

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (m *Manager) SaveConfig() error {
154154
configViper.Set("skip_ssl_verify", m.config.SkipSSLVerify)
155155

156156
// Save integrations if they exist
157-
if m.config.Integrations != nil && len(m.config.Integrations) > 0 {
157+
if len(m.config.Integrations) > 0 {
158158
configViper.Set("integrations", m.config.Integrations)
159159
}
160160

0 commit comments

Comments
 (0)