Bug 1259056 - oc edit on windows doesn't work when trying to save
Summary: oc edit on windows doesn't work when trying to save
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 3.0.0
Hardware: Unspecified
OS: Windows
medium
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Yanping Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-01 20:54 UTC by Erik M Jacobs
Modified: 2015-11-23 14:24 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-23 14:24:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erik M Jacobs 2015-09-01 20:54:28 UTC
With oc 3.0.1.0 on Windows 7, when you do "oc edit" it brings up Notepad, this is good.

1) the YAML and the JSON are basically all on one line. There's no multiple lines and no indentation

2) When you try to save the file after editing you get an error about the file already being open by something else.

Comment 3 Xingxing Xia 2015-10-26 07:30:49 UTC
I verified this issue against windows. Versions are:
oc v3.0.2.903-29-g49953d6
kubernetes v1.2.0-alpha.1-1107-g4c8e6f4

The bug is fixed. oc edit can display and save the file well, like linux.
So I move the bug to VERIFIED.

Comment 4 Brenton Leanhardt 2015-11-23 14:24:40 UTC
This fix is available in OpenShift Enterprise 3.1.


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