Skip to content

Commit 176d15c

Browse files
wuyupengwoainipavolloffay
authored andcommitted
Fix RedisAutoConfiguration order (opentracing-contrib#200)
* fix issue 190 * copyright
1 parent 3e99479 commit 176d15c

File tree

1 file changed

+2
-2
lines changed
  • instrument-starters/opentracing-spring-cloud-redis-starter/src/main/java/io/opentracing/contrib/spring/cloud/redis

1 file changed

+2
-2
lines changed

instrument-starters/opentracing-spring-cloud-redis-starter/src/main/java/io/opentracing/contrib/spring/cloud/redis/RedisAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2017-2018 The OpenTracing Authors
2+
* Copyright 2017-2019 The OpenTracing Authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
* in compliance with the License. You may obtain a copy of the License at
@@ -27,7 +27,7 @@
2727
* @author Daniel del Castillo
2828
*/
2929
@Configuration
30-
@AutoConfigureAfter(TracerRegisterAutoConfiguration.class)
30+
@AutoConfigureAfter({TracerRegisterAutoConfiguration.class, org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class})
3131
@ConditionalOnBean(RedisConnectionFactory.class)
3232
@ConditionalOnProperty(name = "opentracing.spring.cloud.redis.enabled", havingValue = "true", matchIfMissing = true)
3333
public class RedisAutoConfiguration {

0 commit comments

Comments
 (0)