DirectumCompany / DirectumCompany/rx-instance-manager

Секция CaptureService в config.yml

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

При наличии секции CaptureService в config.yml инстанса, конструкция
`var yamlValues = YamlSimple.Parser.ParseFile(configYamlPath);` возвращает пустой Dictionary.
![image](https://github.com/DirectumCompany/rx-instance-manager/assets/71762854/2fc8d587-9500-4b81-8f7e-9d6379f2a070)
![image](https://github.com/DirectumCompany/rx-instance-manager/assets/71762854/09d15c20-0adf-4d97-a631-bba06dbd9022)

Если секцию закомментировать, тогда парсер возвращает нормальный результат, и строка инстанса заполняется корректно.
![image](https://github.com/DirectumCompany/rx-instance-manager/assets/71762854/bdbcd843-4780-4325-a790-72cbf65e4c29)
![image](https://github.com/DirectumCompany/rx-instance-manager/assets/71762854/d061afe2-819d-4966-92c1-f1624d44d3e4)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with config.yml containing the CaptureService section and without it, then inspect the YamlSimple.Parser.ParseFile(configYamlPath) call and the resulting Dictionary. Done means the parser returns the expected values when CaptureService is present and the instance string is populated correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.