This is an automated email from the ASF dual-hosted git repository.

maciej pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new e09cceef5 fix(connectors): read only TOML files from local config 
directory (#2510)
e09cceef5 is described below

commit e09cceef5d7b6887aee4c21f74e1be2b8e3a3fde
Author: Rohan Dubey <[email protected]>
AuthorDate: Fri Dec 19 19:37:03 2025 +0530

    fix(connectors): read only TOML files from local config directory (#2510)
    
    resolves: #2507
---
 core/connectors/runtime/src/configs/connectors/local_provider.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/core/connectors/runtime/src/configs/connectors/local_provider.rs 
b/core/connectors/runtime/src/configs/connectors/local_provider.rs
index bd9565f02..f1c138961 100644
--- a/core/connectors/runtime/src/configs/connectors/local_provider.rs
+++ b/core/connectors/runtime/src/configs/connectors/local_provider.rs
@@ -169,6 +169,11 @@ impl LocalConnectorsConfigProvider<Created> {
         for entry in entries.flatten() {
             let path = entry.path();
             if path.is_file() {
+                if path.extension().and_then(|ext| ext.to_str()) != 
Some("toml") {
+                    debug!("Skipping non-TOML file: {:?}", path);
+                    continue;
+                }
+
                 if let Some(file_name) = path.file_name().and_then(|n| 
n.to_str())
                     && file_name.starts_with('.')
                 {

Reply via email to