Skip to content

Commit

Permalink
fix-extramount-type (#7423)
Browse files Browse the repository at this point in the history
* fix-extramount-type
  • Loading branch information
skanakal authored Jan 10, 2025
1 parent ad15c48 commit 2bc648d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/staticpod/staticpod.go
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@ func addVolumes(p *v1.Pod, src []string, volume typeVolume) {
}

func addExtraMounts(p *v1.Pod, extraMounts []string) {
var sourceType v1.HostPathType

for i, rawMount := range extraMounts {
var sourceType v1.HostPathType
mount := strings.Split(rawMount, ":")
var ro bool
switch len(mount) {
Expand Down

0 comments on commit 2bc648d

Please sign in to comment.