Skip to content

Commit

Permalink
Fixed #609
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinhard-Pilz-Dynatrace committed Dec 9, 2024
1 parent a3994df commit 472b43f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func (me *service) Get(ctx context.Context, id string, v *customlogsourcesetting
if v.Custom_log_source != nil && len(v.Custom_log_source.Values) == 0 {
var values []string
cfg := ctx.Value(settings.ContextKeyStateConfig)
if logConfig, ok := cfg.(*customlogsourcesettings.Settings); ok {
if logConfig, ok := cfg.(*customlogsourcesettings.Settings); ok && logConfig.Custom_log_source != nil {
values = logConfig.Custom_log_source.Values
}

Expand Down

0 comments on commit 472b43f

Please sign in to comment.