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

feat: add ability to disable tenants #445

Merged
merged 3 commits into from
Nov 20, 2024
Merged

Conversation

grace-rehn
Copy link
Contributor

@grace-rehn grace-rehn commented Nov 18, 2024

Updates the CLI to include IS DISABLED field in the table for octopus tenant list and octopus tenant view commands.

Adds the octopus tenant enable and octopus tenant disable commands.

#project-disabling-tenants

[sc-96619]

image

image

image

if err != nil {
return err
}
selectedTenant, err := selectors.ByName(opts.Ask, existingTenants, "Select the tenant you wish to enable:")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
selectedTenant, err := selectors.ByName(opts.Ask, existingTenants, "Select the tenant you wish to enable:")
selectedTenant, err := selectors.ByName(opts.Ask, existingTenants, "Select the tenant you wish to disable:")

Copy link
Contributor

@benPearce1 benPearce1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@grace-rehn grace-rehn merged commit 44063aa into main Nov 20, 2024
4 checks passed
@grace-rehn grace-rehn deleted the grace/add-tenant-disabling branch November 20, 2024 01:56
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