|
|
|
@ -3557,7 +3557,7 @@ func updateGatewayServices(tx WriteTxn, idx uint64, conf structs.ConfigEntry, en
|
|
|
|
|
for _, svc := range gatewayServices {
|
|
|
|
|
// If the service is a wildcard we need to target all services within the namespace
|
|
|
|
|
if svc.Service.Name == structs.WildcardSpecifier {
|
|
|
|
|
if err := updateGatewayNamespace(tx, idx, svc, entMeta); err != nil {
|
|
|
|
|
if err := updateGatewayNamespace(tx, idx, svc, &svc.Service.EnterpriseMeta); err != nil {
|
|
|
|
|
return fmt.Errorf("failed to associate gateway %q with wildcard: %v", gateway.String(), err)
|
|
|
|
|
}
|
|
|
|
|
// Skip service-specific update below if there was a wildcard update
|
|
|
|
|