Skip to content

Commit 3ec1dd9

Browse files
committed
resource: remove from_schema_url fn from pub api
1 parent f79d23b commit 3ec1dd9

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-sdk/src/resource

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/resource/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ impl Resource {
120120
/// schema_url must be a valid URL using HTTP or HTTPS protocol.
121121
///
122122
/// [schema url]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.9.0/specification/schemas/overview.md#schema-url
123-
pub fn from_schema_url<KV, S>(kvs: KV, schema_url: S) -> Self
123+
fn from_schema_url<KV, S>(kvs: KV, schema_url: S) -> Self
124124
where
125125
KV: IntoIterator<Item = KeyValue>,
126126
S: Into<Cow<'static, str>>,

0 commit comments

Comments
 (0)