Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Cannot add new entry with if a hostname is a substring of an existing entry's hostname #67

Merged
merged 1 commit into from
Apr 30, 2014
Merged

Cannot add new entry with if a hostname is a substring of an existing entry's hostname #67

merged 1 commit into from
Apr 30, 2014

Conversation

jeunito
Copy link
Contributor

@jeunito jeunito commented Apr 29, 2014

I created this bug and here is a patch for it as well as a unit test. When an entry is added with a hostname that is a substring of an existing entry's hostname, the former is not added because storm thinks it exists already.

For example:

$ storm list
listing entries:

    google-01 -> vagrant@google.com:24

    google-02 -> vagrant@google.com:22


$ storm add goog vagrant@google.com
error    goog is already in your sshconfig. use storm edit command to modify.

… of an existing entry's hostname, the former is not added because storm thinks it exists already
@jeunito
Copy link
Contributor Author

jeunito commented Apr 30, 2014

@emre could you take a look at this quick please? Need it resolve this issue so I can work on #60

@emre emre added the bug label Apr 30, 2014
emre added a commit that referenced this pull request Apr 30, 2014
Cannot add new entry with if a hostname is a substring of an existing entry's hostname
@emre emre merged commit d352365 into emre:master Apr 30, 2014
@emre
Copy link
Owner

emre commented Apr 30, 2014

sorry for the late response, bumped as version 0.6.3.

thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants