Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
VR: fix wrong check when compare two configuration files
  • Loading branch information
weizhouapache committed Oct 17, 2024
commit cbfa59d0b7bf4d66de946c775b18137e80187949
2 changes: 1 addition & 1 deletion systemvm/debian/opt/cloud/bin/cs/CsFile.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,6 @@ def deleteLine(self, search):
self.new_config = list(temp_config)

def compare(self, o):
result = (isinstance(o, self.__class__) and set(self.config) == set(o.config))
result = (isinstance(o, self.__class__) and self.config == o.config)
Comment thread
weizhouapache marked this conversation as resolved.
logging.debug("Comparison of CsFiles content is ==> %s" % result)
return result