Skip to content

Commit

Permalink
[Bugfix] Use nil by default for PVC template (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-vanyasin authored Sep 26, 2023
1 parent 50a672c commit e202177
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/deployment/v1/arango_member_spec_overrides.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (a *ArangoMemberSpecOverrides) GetVolumeClaimTemplate(g *ServerGroupSpec) *
}
}

return &core.PersistentVolumeClaim{}
return nil
}

func (a *ArangoMemberSpecOverrides) GetResources(g *ServerGroupSpec) core.ResourceRequirements {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (a *ArangoMemberSpecOverrides) GetVolumeClaimTemplate(g *ServerGroupSpec) *
}
}

return &core.PersistentVolumeClaim{}
return nil
}

func (a *ArangoMemberSpecOverrides) GetResources(g *ServerGroupSpec) core.ResourceRequirements {
Expand Down

0 comments on commit e202177

Please sign in to comment.