Skip to content

Commit a96cbba

Browse files
committed
using kubectl apply to create metric adapter
1 parent d19aec8 commit a96cbba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/instrumentation/monitoring/custom_metrics_deployments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func CreateAdapter(adapterDeploymentFile string) error {
265265
if err != nil {
266266
return err
267267
}
268-
stat, err := framework.RunKubectl("", "create", "-f", adapterURL)
268+
stat, err := framework.RunKubectl("", "apply", "-f", adapterURL)
269269
framework.Logf(stat)
270270
return err
271271
}

0 commit comments

Comments
 (0)