Skip to content

Commit

Permalink
fix comment in create_global_dictionary.py (envoyproxy#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
qiwzhang authored Jun 10, 2017
1 parent c1bee67 commit 662c858
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions mixerclient/create_global_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@
namespace mixer_client {
namespace {
// Automatically generated global dictionary from
// https://github.com/istio/api/blob/master/mixer/v1/global_dictionary.yaml
// by run:
// ./create_global_dictionary.py global_dictionary.yaml \
// > src/global_dictionary.cc
/*
* Automatically generated global dictionary from
* https://github.com/istio/api/blob/master/mixer/v1/global_dictionary.yaml
* by run:
* ./create_global_dictionary.py \
* bazel-mixerclient/external/mixerapi_git/mixer/v1/global_dictionary.yaml \
* > src/global_dictionary.cc
*/
const std::vector<std::string> kGlobalWords{
"""
Expand Down
13 changes: 8 additions & 5 deletions mixerclient/src/global_dictionary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ namespace istio {
namespace mixer_client {
namespace {

// Automatically generated global dictionary from
// https://github.com/istio/api/blob/master/mixer/v1/global_dictionary.yaml
// by run:
// ./create_global_dictionary.py global_dictionary.yaml \
// > src/global_dictionary.cc
/*
* Automatically generated global dictionary from
* https://github.com/istio/api/blob/master/mixer/v1/global_dictionary.yaml
* by run:
* ./create_global_dictionary.py \
* bazel-mixerclient/external/mixerapi_git/mixer/v1/global_dictionary.yaml \
* > src/global_dictionary.cc
*/

const std::vector<std::string> kGlobalWords{
"source.ip",
Expand Down

0 comments on commit 662c858

Please sign in to comment.