Skip to content

Use protojson in tctl for marshaling BotInstance resource#55093

Merged
strideynet merged 2 commits intomasterfrom
strideynet/fix-bot-instance-list
May 27, 2025
Merged

Use protojson in tctl for marshaling BotInstance resource#55093
strideynet merged 2 commits intomasterfrom
strideynet/fix-bot-instance-list

Conversation

@strideynet
Copy link
Copy Markdown
Contributor

Previously, when rendered as YAML, the timestamps in the resource would be shown as an object with seconds/microseconds since unix epoch. This patch wraps the resources with ProtoResource153ToLegacy so that the correct protojson marshaler is used instead.

changelog: Fixed tctl rendering of timestamps in BotInstance resource YAML

@strideynet strideynet added this pull request to the merge queue May 27, 2025
Merged via the queue into master with commit 565d610 May 27, 2025
40 checks passed
@strideynet strideynet deleted the strideynet/fix-bot-instance-list branch May 27, 2025 08:58
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@strideynet See the table below for backport results.

Branch Result
branch/v16 Create PR
branch/v17 Create PR

smallinsky pushed a commit that referenced this pull request May 29, 2025
* Use protojson in tctl for marshaling BotInstance resource

* Fix spelling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 size/sm tctl tctl - Teleport admin tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants