generated from cobaltcore-dev/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
external-arbiter-operator/pkg/controller/remotearbiter_controller.go
Lines 560 to 576 in fdda4f8
| for _, container := range spec.Template.Spec.Containers { | |
| if spec.Template.Spec.Containers[0].Name != "mon" { | |
| continue | |
| } | |
| image = container.Image | |
| fsidPrefix := "--fsid=" | |
| for _, arg := range container.Args { | |
| if !strings.HasPrefix(arg, fsidPrefix) { | |
| continue | |
| } | |
| fsid = strings.TrimPrefix(arg, fsidPrefix) | |
| break | |
| } | |
| break | |
| } |
I think here should be container.Name checked ?
Metadata
Metadata
Assignees
Labels
No labels