Skip to content

Commit

Permalink
GitHub fixups
Browse files Browse the repository at this point in the history
Co-authored-by: Angel Misevski <[email protected]>
Signed-off-by: David Kwon <[email protected]>
  • Loading branch information
dkwon17 and amisevsk committed Jan 23, 2024
1 parent cf2d070 commit 7f1f26f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Container overrides can add define volumeMounts"
name: "Container overrides can define a volumeMount"

input:
component:
Expand Down
4 changes: 2 additions & 2 deletions pkg/provision/storage/commonStorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ func (p *CommonStorageProvisioner) rewriteContainerVolumeMounts(workspaceId, pvc
if err != nil {
return err
}
for key, value := range overridesVolumes {
additionalVolumes[key] = value
for volumeName, present := range overridesVolumes {
additionalVolumes[volumeName] = present
}

// Add implicit projects volume to support mountSources, if needed
Expand Down
4 changes: 2 additions & 2 deletions pkg/provision/storage/perWorkspaceStorage.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ func (p *PerWorkspaceStorageProvisioner) rewriteContainerVolumeMounts(workspaceI
if err != nil {
return err
}
for key, value := range overridesVolumes {
additionalVolumes[key] = value
for volumeName, present := range overridesVolumes {
additionalVolumes[volumeName] = present
}

// Add implicit projects volume to support mountSources, if needed
Expand Down

0 comments on commit 7f1f26f

Please sign in to comment.