Why make ConfigLoader.load as async ? #1645
Replies: 3 comments
-
I am very confused about this. Can someone answer this question? |
Beta Was this translation helpful? Give feedback.
-
possibly an oversight the way EDIT: issue in Issue now created in #1651 |
Beta Was this translation helpful? Give feedback.
-
I have submitted a PR #1650 to change the load method to sync. Please help check if it meets the requirements. |
Beta Was this translation helpful? Give feedback.
-
I noticed that the load method in the ConfigLoader struct does not use await, so why is the load method marked as async?
https://github.com/kube-rs/kube/blob/main/kube-client/src/config/file_loader.rs#L56
Beta Was this translation helpful? Give feedback.
All reactions