Skip to content

Commit

Permalink
Simplify ConditionalOnEnabledTracing
Browse files Browse the repository at this point in the history
wilkinsona committed Oct 3, 2022
1 parent 69c8959 commit 6d4390e
Showing 3 changed files with 2 additions and 113 deletions.
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Conditional;

/**
@@ -35,7 +36,7 @@
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@Documented
@Conditional(OnTracingEnabledCondition.class)
@ConditionalOnProperty(prefix = "management.tracing", name = "enabled", matchIfMissing = true)
public @interface ConditionalOnEnabledTracing {

}

This file was deleted.

This file was deleted.

0 comments on commit 6d4390e

Please sign in to comment.