mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Adding console targets back into systemtarget log slice (#19398)
This commit is contained in:
@@ -192,8 +192,8 @@ func updateHTTPTargets(ctx context.Context, cfgs map[string]http.Config, targetL
|
||||
}
|
||||
}
|
||||
|
||||
oldTargets := make([]Target, len(*targetList))
|
||||
copy(oldTargets, *targetList)
|
||||
oldTargets, others := splitTargets(*targetList, types.TargetHTTP)
|
||||
newWebhooks = append(newWebhooks, others...)
|
||||
|
||||
for i := range oldTargets {
|
||||
currentTgt, ok := oldTargets[i].(*http.Target)
|
||||
|
||||
Reference in New Issue
Block a user