Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix null characters in guest agent stdout. #1991

Merged
merged 5 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 0 additions & 4 deletions VMEncryption/main/Utils/HandlerUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,9 @@ def exit_if_same_seq(self, exit_status=None):
sys.exit(0)

def log(self, message):
# write message to stderr for inclusion in QOS telemetry
sys.stderr.write(message)
self._log(self._get_log_prefix() + ': ' + message)

def error(self, message):
# write message to stderr for inclusion in QOS telemetry
sys.stderr.write(message)
self._error(self._get_log_prefix() + ': ' + message)

def _parse_config(self, config_txt):
Expand Down
1 change: 0 additions & 1 deletion VMEncryption/main/handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,6 @@ def enable():
message=msg)
finally:
lock.release_lock()
logger.log("exiting enable lock, PID {0}".format(os.getpid()))

def are_required_devices_encrypted(volume_type, encryption_status, disk_util, bek_util, encryption_operation):
are_data_disk_encrypted = True if encryption_status['data'] == 'Encrypted' else False
Expand Down