Skip to content

Commit

Permalink
fix storage pvc (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaByte875 authored Dec 19, 2021
1 parent 5809d64 commit 54806b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/apps/v1alpha1/nebulacluster_storaged.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (c *storagedComponent) GetLogStorageResources() *corev1.ResourceRequirement
}

func (c *storagedComponent) GetDataStorageResources() *corev1.ResourceRequirements {
return c.nc.Spec.Storaged.LogVolumeClaim.Resources.DeepCopy()
return c.nc.Spec.Storaged.DataVolumeClaim.Resources.DeepCopy()
}

func (c *storagedComponent) GetPodEnvVars() []corev1.EnvVar {
Expand Down

0 comments on commit 54806b8

Please sign in to comment.