Skip to content

variable "hosts" in on.config masked by code #1

@tpo

Description

@tpo

When I use the variable "hosts" in on.config:

$ cat ~/.on.config
hosts="foo bar"

then that variable is not available for me afterwards:

$ on hosts list
$

and that's because that variable is being used by the "on" script internally by itself.

Idea: review code an replace all variables and functions with "on_$name" variants and document that as a "forbidden" namespace?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions