Skip to content

Commit edf4e31

Browse files
authored
Update Deployment.md
Used non existing variable in setContainers. Possibly copied from the test.
1 parent b9a5e39 commit edf4e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/kinds/Deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ $container = K8s::container()
1818
$pod = K8s::pod()
1919
->setName('mysql')
2020
->setLabels(['tier' => 'backend']) // needs deployment-name: mysql so that ->getPods() can work
21-
->setContainers([$mysql]);
21+
->setContainers([$container]);
2222

2323
$dep = $cluster->deployment()
2424
->setName('mysql')

0 commit comments

Comments
 (0)