Skip to content

Default Port is not properly being set #48

@caseyli

Description

@caseyli

If you don't specify a config.port when configuring the Spire client, the code supposedly sets it to 10880. However, that code is not properly working.

attrs[:port] ||= 10880

The above line in the configuration.rb doesn't actually set the port properly. In client.rb, in api_uri where we call self.configuration.port, it will still be nil.

This is not a problem if the port is just set, but if it's not, then the expected behaviour is incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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