Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(formatting): fix string to status parser #20

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

ghzmhrm
Copy link
Contributor

@ghzmhrm ghzmhrm commented Jan 26, 2024

> Profile URL:        https://teleport-staging.redacted.net:3080
  Logged in as:       [email protected]
  Cluster:            main
  Roles:              engineer-digital-role
  Logins:             [email protected], root
  Kubernetes:         disabled
  Valid until:        2024-01-26 22:26:47 +0700 WIB [valid for 7h21m0s]
  Extensions:         permit-X11-forwarding, permit-agent-forwarding, permit-port-forwarding, permit-pty

  Profile URL:        https://teleport.redacted.net:3080
  Logged in as:       [email protected]
  Cluster:            main
  Roles:              engineer-digital-role
  Logins:             [email protected], non-admin
  Kubernetes:         disabled
  Valid until:        2024-01-26 22:25:02 +0700 WIB [valid for 7h19m0s]
  Extensions:         permit-X11-forwarding, permit-agent-forwarding, permit-port-forwarding, permit-pty

It is advisable to modify the string parser to accommodate the new version of tsh and retrieve the accurate logins for multiple environments. The currently logged-in environment will be positioned at the top.

@adzimzf adzimzf merged commit bae9219 into adzimzf:master Jan 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants