Skip to content

Commit

Permalink
Update volgen.cr
Browse files Browse the repository at this point in the history
Fixed the storage unit type
  • Loading branch information
aravindavk authored Apr 14, 2023
1 parent ca6c4a4 commit 7473ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/volgen.cr
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module Volgen
def volfile_type
@elements.each do |element|
return "client" if element.type == "protocol/client"
return "storage-unit" if element.type == "protocol/server"
return "storage_unit" if element.type == "protocol/server"
end

"unknown"
Expand Down

0 comments on commit 7473ef6

Please sign in to comment.