ytsaurus / ytsaurus/ytsaurus

CLI requires `//sys/client_config/default` to be of type "document"

Open
#866 0 comments 0 reactions 1 assignee Claimed by @denvr View on GitHub
SDK
Dominant language
C++
Stars
2.2k
Forks
219
PR merge metrics
No merged PRs in 30d

Description

I just had to debug why `//sys/client_config/default` was not applying in my case. I found that it requires type "document" while I had "map_node":
```
Working:
✗ yt get //sys/client_config/default/@type
"document"
✗ yt get //sys/client_config/default
{
"operation_link_template" = "https://my.cluster/mycluster/operations/{operation_id}/details";
}

Not working:
✗ yt get //sys/client_config/default/@type
"map_node"
✗ yt get //sys/client_config/default
{
"operation_link_template" = "https://my.cluster/mycluster/operations/{operation_id}/details";
}
```

It would be nice to lift that requirement or to provide a warning on client side at least, instead of ignoring the config

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.