Skip to content

Commit

Permalink
revert: revert application.yml and RedisConfiguration change
Browse files Browse the repository at this point in the history
  • Loading branch information
helltractor committed Dec 9, 2024
1 parent be4dcf0 commit ada7539
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public class RedisConfiguration{

final static Logger logger = LoggerFactory.getLogger(RedisConfiguration.class);

@Value("${spring.redis.host}")
@Value("${spring.data.redis.host}")
private String host;

@Value("${spring.redis.port}")
@Value("${spring.data.redis.port}")
private int port;

/**
Expand Down
7 changes: 4 additions & 3 deletions demo-redis/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
spring:
redis:
host: localhost
port: 6379
data:
redis:
host: localhost
port: 6379

0 comments on commit ada7539

Please sign in to comment.