Skip to content

Commit

Permalink
fix: use correct controlflag for vslm SetControlFlags API test
Browse files Browse the repository at this point in the history
  • Loading branch information
divyenpatel authored and dougm committed Jun 2, 2022
1 parent f8cf9ef commit e97c970
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vslm/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ func TestClient(t *testing.T) {
t.Logf("volumeCreateResult %+v", volumeCreateResult)
t.Logf("Volume created sucessfully. volumeId: %s", volumeId)

err = globalObjectManager.SetControlFlags(ctx, types.ID{Id: volumeId}, []string{"FCD_KEEP_AFTER_DELETE_VM"})
err = globalObjectManager.SetControlFlags(ctx, types.ID{Id: volumeId}, []string{
string(types.VslmVStorageObjectControlFlagKeepAfterDeleteVm)})
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit e97c970

Please sign in to comment.