Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you run commands when adding a new container without specifying a user? #270

Closed
deniseschannon opened this issue Mar 19, 2015 · 3 comments
Assignees
Labels
area/container kind/question Issues that just require an answer. No code change needd

Comments

@deniseschannon
Copy link

In #31, it implies that the user is required if you input a command in the option.

Is this correct? If so, do we need to update the UI so that it forces the validation before trying to launch the container?

@vincent99
Copy link
Contributor

You do not have to specify a user. The problem is that if you focus the user field, the value stored internally switches from a null to an empty string. The API accepts null, but not empty string.

#239 was the original issue in rancherio/ui to track this, can we consolidate it with #270 and #96? There are probably other fields besides name and command where this can occur, but it's one underlying problem.

@vincent99 vincent99 changed the title [Container] Can you run commands when adding a new container without specifying a user? Can you run commands when adding a new container without specifying a user? Apr 23, 2015
@vincent99
Copy link
Contributor

User is not required and the UI doesn't send empty strings anymore.

@tfiduccia
Copy link

v0.17.0
Verified Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/container kind/question Issues that just require an answer. No code change needd
Projects
None yet
Development

No branches or pull requests

3 participants