Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
test: remove redundant cast
Browse files Browse the repository at this point in the history
The TODO was resolved earlier, the type cast is redundant now.
  • Loading branch information
pohly committed Nov 12, 2020
1 parent 894cca2 commit 1ae1775
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/e2e/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -927,9 +927,7 @@ func (d *Deployment) GetDriverDeployment() api.Deployment {
Labels: map[string]string{
deploymentLabel: d.Label(),
},
// TODO: replace pmemcsidriver.DeviceMode with api.DeviceMode everywhere
// and remove this cast here.
DeviceMode: api.DeviceMode(d.Mode),
DeviceMode: d.Mode,
// As in setup-deployment.sh, only 50% of the available
// PMEM must be used for LVM, otherwise other tests cannot
// run after the LVM driver was deployed once.
Expand Down

0 comments on commit 1ae1775

Please sign in to comment.