| Summary: | when do app control commands for app2 under app1 repo dir, it actually do operations on app1. | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | weiwei jiang <wjiang> |
| Component: | oc | Assignee: | Clayton Coleman <ccoleman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2.x | CC: | wsun, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-17 13:32:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
weiwei jiang
2013-09-29 09:05:41 UTC
As a consequence of the fix here, 'rhc ssh' will now behave differently. In a app Git directory, you must run 'rhc ssh -- <command>' or 'rhc app-alias -- <alias>' in order to get the implicit value to work. This is because it's impossible to know for sure whether the first value is an app name or an alias. Needs a stage pull - didn't make the cut today. Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/3725348374c05b2a621cf684b9be06cf71738179 Bug 1013321 - Handle implicit arguments more accurately When both arguments to a command are optional (rhc ssh <app> <command...>), if the user wants to use the default app - the current Git directory, for instance - then they must specify '--' in order to guarantee that <command> isn't confused for <app>. This commit changes that parsing behavior and cleans up the tests to ensure we are covering that case. Tried on INT(devnev_stage_488) and this issue has been fixed. So verified it. Thanks |