Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ func Set(cfg interface{}, path string, value interface{}) error {
c[part] = value
} else {
// if exists just pick the pointer
if va, ok := c[part]; ok {
if va, ok := c[part]; ok && va != nil {
point = &va
} else {
// is next part slice or map?
Expand Down