Skip to content

Commit

Permalink
Fix few typos in the java docs (apache#5178)
Browse files Browse the repository at this point in the history
Signed-off-by: dengziming <[email protected]>
  • Loading branch information
dengziming authored and Jennifer88huang-zz committed Sep 12, 2019
1 parent 9b375c2 commit b9e27c6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dashboard/django/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ def collect_and_purge():
parser.add_argument(action="store", dest="serviceUrl", help='Service URL of one cluster in the Pulsar instance')

parser.add_argument('--proxy', action='store',
help="Connect using a HTTP proxy", dest="proxy")
help="Connect using an HTTP proxy", dest="proxy")
parser.add_argument('--header', action="append", dest="header",
help='Add an additional HTTP header to all requests')
parser.add_argument('--purge', action="store", dest="purge", type=int, default=60,
Expand Down
2 changes: 1 addition & 1 deletion docker/pulsar-standalone/django/collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def collect_and_purge():
parser.add_argument(action="store", dest="serviceUrl", help='Service URL of one cluster in the Pulsar instance')

parser.add_argument('--proxy', action='store',
help="Connect using a HTTP proxy", dest="proxy")
help="Connect using an HTTP proxy", dest="proxy")
parser.add_argument('--header', action="append", dest="header",
help='Add an additional HTTP header to all requests')
parser.add_argument('--purge', action="store", dest="purge", type=int, default=60,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public String authenticate(AuthenticationDataSource authData) throws Authenticat

if (authData.hasDataFromTls()) {
/**
* Maybe authentication type should be checked if it is a HTTPS session. However this check fails actually
* Maybe authentication type should be checked if it is an HTTPS session. However this check fails actually
* because authType is null.
*
* This check is not necessarily needed, because an untrusted certificate is not passed to
Expand Down
2 changes: 1 addition & 1 deletion site2/docs/io-hdfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_label: Hdfs Connector
## Sink

The Hdfs Sink Connector is used to pull messages from Pulsar topics and persist the messages
to a hdfs file.
to an hdfs file.

## Sink Configuration Options

Expand Down
2 changes: 1 addition & 1 deletion site2/website/versioned_docs/version-2.3.1/io-hdfs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ original_id: io-hdfs
## Sink

The Hdfs Sink Connector is used to pull messages from Pulsar topics and persist the messages
to a hdfs file.
to an hdfs file.

## Sink Configuration Options

Expand Down

0 comments on commit b9e27c6

Please sign in to comment.