Skip to content

Commit

Permalink
vcsim: add vSAN FileServiceConfig support
Browse files Browse the repository at this point in the history
Issue #3430
  • Loading branch information
dougm committed Jun 24, 2024
1 parent bd85d9c commit e9f4cb7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vsan/simulator/simulator.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
Copyright (c) 2021 VMware, Inc. All Rights Reserved.
Copyright (c) 2021-2024 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -106,6 +106,9 @@ func (s *ClusterConfigSystem) VsanClusterReconfig(ctx *simulator.Context, req *t
if req.VsanReconfigSpec.UnmapConfig != nil {
info.UnmapConfig = req.VsanReconfigSpec.UnmapConfig
}
if req.VsanReconfigSpec.FileServiceConfig != nil {
info.FileServiceConfig = req.VsanReconfigSpec.FileServiceConfig
}
return nil, nil
})

Expand Down

0 comments on commit e9f4cb7

Please sign in to comment.