Skip to content

Commit 9296e0c

Browse files
committed
chore: Refactor exec_command_in_pod function signature
1 parent 4b576de commit 9296e0c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

agent/src/kube.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,9 @@ impl Context {
119119
Ok(())
120120
}
121121

122-
async fn exec_command_in_pod<I: Debug, T>(
123-
pods: &Api<Pod>,
124-
name: &str,
125-
command: I,
126-
) -> Result<String>
122+
async fn exec_command_in_pod<I, T>(pods: &Api<Pod>, name: &str, command: I) -> Result<String>
127123
where
128-
I: IntoIterator<Item = T>,
124+
I: IntoIterator<Item = T> + Debug,
129125
T: Into<String>,
130126
{
131127
let attached = pods

0 commit comments

Comments
 (0)