Skip to content

config get shows tls true for profiles with no TLS configured #1077

@chaptersix

Description

@chaptersix

Description

temporal config get --profile <name> displays tls true for profiles that have no TLS configuration.

Reproduction

# Create a profile with only address and namespace
temporal config set --profile devtest --prop address --value localhost:17233
temporal config set --profile devtest --prop namespace --value default

# Table output shows tls true
temporal config get --profile devtest
  Property        Value
  address    localhost:17233
  namespace  default
  tls        true

However, JSON output correctly omits TLS:

temporal config get --profile devtest -o json
{
  "address": "localhost:17233",
  "namespace": "default"
}

And querying the property directly also correctly shows false:

temporal config get --profile devtest --prop tls
  Property  Value
  tls       false

Expected behavior

temporal config get --profile devtest should not display tls true when no TLS has been configured on the profile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions