Bug 1760578 - odo watch should fail with error message for git based components
Summary: odo watch should fail with error message for git based components
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: odo
Version: 4.2.0
Hardware: Unspecified
OS: All
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Tomáš Král
QA Contact: Amit
Yana Hontyk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-10 21:11 UTC by Yana Hontyk
Modified: 2019-12-02 07:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-02 07:55:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift odo issues 2138 0 'None' 'closed' 'odo watch should fail with error message for git based components' 2019-12-02 07:53:10 UTC

Description Yana Hontyk 2019-10-10 21:11:54 UTC
Description of problem:
odo watch should fail with error message for git based components 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Created and pushed a component based on remote git repo
2. Executed odo watch

Actual results:
 $ odo watch
 ✗  stat https://github.com/dharmit/django-ex: no such file or directory

Expected results:
It should fail with a message like Cannot watch git based components
$ odo watch
✗  odo cannot watch git based components. Please run `odo push` to push changes

Additional info:

Comment 1 Amit 2019-11-19 06:59:12 UTC
Fixed via - https://github.com/openshift/odo/pull/2280


Note You need to log in before you can comment on or make changes to this bug.