Skip to content

Commit

Permalink
fix vslm SetControlFlags test
Browse files Browse the repository at this point in the history
  • Loading branch information
divyenpatel committed Jun 1, 2022
1 parent 0f1f07e commit 7e14a49
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 7e14a49

Please sign in to comment.