Skip to content

Commit

Permalink
Update server.go
Browse files Browse the repository at this point in the history
  • Loading branch information
raaizik committed Feb 12, 2024
1 parent 32abff4 commit bd9a4fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/provider/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,12 @@ func (s *OCSProviderServer) RDRCreateOrUpdateODFInfoMap(ctx context.Context, req
} else {
var odfVersion, cephFSId string
if odfVersion, err = s.getOdfVersion(ctx, &storageCluster); err != nil {
// todo: handle error here
// todo: empty? manually generated?
odfVersion = ""
}
if cephFSId, err = s.getCephFsid(ctx, &storageCluster); err != nil {
// todo: handle error here
// todo: empty? manually generated?
cephFSId = ""
}
var odfDeploymentType string
if storageCluster.Spec.ExternalStorage.Enable {
Expand Down

0 comments on commit bd9a4fe

Please sign in to comment.