Bug 1303159 - oc log is DEPRECATED but we still have it referenced
Summary: oc log is DEPRECATED but we still have it referenced
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Ashley Hardin
QA Contact: Vikram Goyal
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-29 17:57 UTC by Eric Jones
Modified: 2016-02-15 16:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-15 16:03:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Jones 2016-01-29 17:57:05 UTC
Document URL: 
https://access.redhat.com/documentation/en/openshift-enterprise/version-3.1/installation-and-configuration/#securing-the-registry

Section Number and Name: 
2.6.6 Securing the Registry

Describe the issue: 
After having secured several registries on my own, I have noticed that every time  I get to step 8, which does nothing more than validate step 7, we indicate that the user should run `oc log <name_of_docker_registry_pod>` and every time it returns the message below:
log is DEPRECATED and will be removed in a future version. Use logs instead.

Suggestions for improvement: 
Simply add an s to the command so that we are not perpetuating the usage of `oc log` when we plan to remove it at some point.

Comment 1 Ashley Hardin 2016-02-02 17:10:58 UTC
https://github.com/openshift/openshift-docs/pull/1530

@Eric - Please review my edits and let me know if this satisfies your request. Thanks!

Comment 2 Eric Jones 2016-02-02 17:12:48 UTC
@Ashley

Yup that was the only one that I was able to find, and that is the simple change that was necessary. Thanks for fixing it!

Comment 3 Ashley Hardin 2016-02-02 17:18:56 UTC
@Eric
Yeah, this was the only instance I was able to find as well. Thanks!

Comment 4 openshift-github-bot 2016-02-08 15:38:55 UTC
Commits pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/7af59d9091ee259ab926a7be4f942950c17454a0
Bug 1303159, changed oc log to oc logs

https://github.com/openshift/openshift-docs/commit/cb414eadfe37bb8648b962a77702f6a30c22691d
Merge pull request #1530 from ahardin-rh/oc-log

Bug 1303159, changed oc log to oc logs


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