Skip to content

Commit 63abd5f

Browse files
committed
style(cleanup): remove unused volume
Signed-off-by: cndoit18 <cndoit18@outlook.com>
1 parent 6c71759 commit 63abd5f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/controller/mysqlcluster/internal/syncer/statefullset.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ import (
4444
const (
4545
confVolumeName = "conf"
4646
confMapVolumeName = "config-map"
47-
initDBVolumeName = "init-scripts"
4847
dataVolumeName = "data"
4948
tmpfsVolumeName = "tmp"
5049
)
@@ -540,10 +539,6 @@ func (s *sfsSyncer) ensureVolumes() []core.Volume {
540539
EmptyDir: &core.EmptyDirVolumeSource{},
541540
}),
542541

543-
ensureVolume(initDBVolumeName, core.VolumeSource{
544-
EmptyDir: &core.EmptyDirVolumeSource{},
545-
}),
546-
547542
ensureVolume(confMapVolumeName, core.VolumeSource{
548543
ConfigMap: &core.ConfigMapVolumeSource{
549544
LocalObjectReference: core.LocalObjectReference{

0 commit comments

Comments
 (0)