Skip to content

Commit

Permalink
fix: create share volume (#2043)
Browse files Browse the repository at this point in the history
Signed-off-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail authored Nov 19, 2024
1 parent 9f8f025 commit 9209591
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion worker/appm/volume/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ func NewVolumeManager(as *v1.AppService,
logrus.Warnf("other volume type[%s]", volumeType)
if serviceMountR != nil {
v = new(ShareFileVolume)
} else {
v = new(OtherVolume)
}
v = new(OtherVolume)
}
v.setBaseInfo(as, serviceVolume, serviceMountR, version, dbmanager)
return v
Expand Down

0 comments on commit 9209591

Please sign in to comment.