Skip to content

Commit

Permalink
switch to lo.ToPtr
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate committed Feb 25, 2025
1 parent a06e908 commit 3ff7de3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neonvm-runner/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,10 @@ func run(logger *zap.Logger) error {
// add the tls path.
// this is needed to just `mkdir` the mounting directory.
if vmSpec.TLS != nil {
watch := true
disks = append(disks, vmv1.Disk{
Name: "tls-keys",
MountPath: vmSpec.TLS.MountPath,
Watch: &watch,
Watch: lo.ToPtr(true),
ReadOnly: nil,
DiskSource: vmv1.DiskSource{
EmptyDisk: nil,
Expand Down

0 comments on commit 3ff7de3

Please sign in to comment.