diff --git a/.drone.yml b/.drone.yml index aea69f8..e73b513 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,13 @@ kind: pipeline type: exec name: default steps: +- name: code-analysis + image: aosapps/drone-sonar-plugin + settings: + sonar_host: + from_secret: sonar_host + sonar_token: + from_secret: sonar_token - name: build commands: - make clean && make diff --git a/src/redis-migrate.h b/src/redis-migrate.h index e74f4b5..57f786f 100644 --- a/src/redis-migrate.h +++ b/src/redis-migrate.h @@ -34,6 +34,7 @@ typedef struct migrateObject { int port; int begin_slot; int end_slot; + char *psync_replid; char psync_offset[32]; } migrateObj;