cfy agents install --all-tenants not working with empty default tenant

Description

When running 'cfy agents install -a' with an empty default tenant but deployments in other tenants, it refused to update any agents as it stated there were no deployments.

Ideally it would work anyway and just report if it didn't update any agents for a given tenant (or even report a count of agents updated for each tenant).

Note that this issue was observed when the default tenant was the current tenant, so it is quite possibly the case that the issue occurs as long as the currently used tenant is empty rather than specifically the default tenant.

Status

Assignee

Adi Grabow

Reporter

geokala

Labels

Bug Type

None

Target Version

None

Severity

None

Fix versions

Affects versions

Configure