Skip to content

Commit

Permalink
fix: do not get master while raise a new pull request (#706)
Browse files Browse the repository at this point in the history
  • Loading branch information
hycdong authored Mar 26, 2021
1 parent e445987 commit 318f006
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ jobs:
runs-on: ubuntu-latest
container:
image: apachepegasus/clang-format-3.9
defaults:
run:
working-directory: /root/incubator-pegasus
steps:
- name: Clone Apache Pegasus Source
working-directory: /root
run: |
git clone --recursive --depth=1 https://github.com/apache/incubator-pegasus.git
- uses: actions/checkout@v2
with:
fetch-depth: 1
submodules: true
- name: clang-format
run: ./rdsn/scripts/linux/run-clang-format.py --clang-format-executable clang-format-3.9 -e ./src/shell/linenoise -e ./src/shell/sds -e ./rdsn -r ./src

Expand Down
4 changes: 2 additions & 2 deletions src/server/info_collector.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ class info_collector
recent_write_throttling_reject_count->set(
row_stats.total_recent_write_throttling_reject_count);
recent_read_throttling_delay_count->set(
row_stats.total_recent_read_throttling_delay_count);
row_stats.total_recent_read_throttling_delay_count);
recent_read_throttling_reject_count->set(
row_stats.total_recent_read_throttling_reject_count);
row_stats.total_recent_read_throttling_reject_count);
storage_mb->set(row_stats.total_storage_mb);
storage_count->set(row_stats.total_storage_count);
rdb_block_cache_hit_rate->set(
Expand Down
4 changes: 2 additions & 2 deletions src/server/table_stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ struct table_stats
total_recent_write_throttling_reject_count +=
row_stats.total_recent_write_throttling_reject_count;
total_recent_read_throttling_delay_count +=
row_stats.total_recent_read_throttling_delay_count;
row_stats.total_recent_read_throttling_delay_count;
total_recent_read_throttling_reject_count +=
row_stats.total_recent_read_throttling_reject_count;
row_stats.total_recent_read_throttling_reject_count;
total_storage_mb += row_stats.total_storage_mb;
total_storage_count += row_stats.total_storage_count;
total_rdb_block_cache_hit_count += row_stats.total_rdb_block_cache_hit_count;
Expand Down

0 comments on commit 318f006

Please sign in to comment.