Files
teleport/api/profile
Zac Bergquist 80b0912edf tsh: fix panic when loading profile (#38197)
When unmarshaling the profile YAML, it's possible for the unmarshal
to complete without error while not populating the profile struct,
which leads to a panic.

Fix the nil pointer dereference by unmarshaling into a Profile
instead of a *Profile, and further improve the error message
when this happens.

Fixes #38188
2024-02-15 20:53:30 +00:00
..