Skip to content

Commit 508de39

Browse files
authored
Merge pull request #144 from NearNodeFlash:update-options
Use the new storage profile fields
2 parents 8343e66 + f19ee4a commit 508de39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
362362
}
363363

364364
if o.storageProfile.lvCreateCmd != "" {
365-
profile.Data.XFSStorage.CmdLines.LvCreate = o.storageProfile.lvCreateCmd
365+
profile.Data.XFSStorage.BlockDeviceCommands.RabbitCommands.LvCreate = o.storageProfile.lvCreateCmd
366366
}
367367

368368
Expect(k8sClient.Create(ctx, profile)).To(Succeed())

0 commit comments

Comments
 (0)