Skip to content

Commit

Permalink
Fixed call site.
Browse files Browse the repository at this point in the history
Made docker calls more backwards compatible
  • Loading branch information
rakshith-ravi committed Aug 22, 2023
1 parent a211756 commit 25d86d8
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 5 deletions.
Empty file modified redis/cluster-entrypoint.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion redis/cluster.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ WORKDIR /redis
COPY cluster.conf .
RUN chown redis:redis /redis/cluster.conf
EXPOSE 6379
COPY --chmod=755 cluster-entrypoint.sh .
COPY cluster-entrypoint.sh .
ENTRYPOINT ["/redis/cluster-entrypoint.sh"]
2 changes: 1 addition & 1 deletion redis/docker_down.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
./set_host_ip.sh
docker compose down
docker-compose down
2 changes: 1 addition & 1 deletion redis/docker_up.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sh ./set_host_ip.sh
docker compose up -d
docker-compose up -d
Empty file modified redis/sentinel-entrypoint.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion redis/sentinel.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ WORKDIR /redis
COPY sentinel.conf .
RUN chown redis:redis /redis/sentinel.conf
EXPOSE 26379
COPY --chmod=755 sentinel-entrypoint.sh .
COPY sentinel-entrypoint.sh .
ENTRYPOINT ["/redis/sentinel-entrypoint.sh"]
Empty file modified redis/set_host_ip.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl Client {
/// Create a new transaction
#[inline]
pub fn create_transaction(&self) -> Transaction {
Transaction::new(self)
Transaction::new(self.clone())
}

/// Create a new pipeline
Expand Down

0 comments on commit 25d86d8

Please sign in to comment.