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

[Edge-core][AS5812-54X] fixes : Inconsistent use of tabs and spaces in … #11766

Closed
wants to merge 1 commit into from

Conversation

roger530-ho
Copy link
Contributor

Signed-off-by: Roger Ho roger530_ho@edge-core.com

Why I did it

To startup as5812-platform-monitor.service fail.

Debug:
admin@sonic:~$ /usr/local/bin/accton_as5812_monitor.py
Traceback (most recent call last):
File "/usr/local/bin/accton_as5812_monitor.py", line 33, in
from as5812_54x.fanutil import FanUtil
File "/usr/lib/python3/dist-packages/as5812_54x/fanutil.py", line 138
val_file.close()
TabError: inconsistent use of tabs and spaces in indentation

How I did it

Replace tab with space

How to verify it

admin@sonic:~$ systemctl status as5812-platform-monitor.service
● as5812-platform-monitor.service - Accton AS5812-54X Platform Monitoring service
Loaded: loaded (/lib/systemd/system/as5812-platform-monitor.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-08-18 01:07:37 UTC; 2h 10min ago
Process: 25347 ExecStartPre=/usr/local/bin/accton_as5812_util.py install (code=exited, status=0/SUCCESS)
Main PID: 25357 (python)
Tasks: 1 (limit: 9477)
Memory: 7.5M
CGroup: /system.slice/as5812-platform-monitor.service
└─25357 python /usr/local/bin/accton_as5812_monitor.py

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
    --> customer requirement
  • 202205
    --> customer requirement

Description for the changelog

Replace tab with space

Link to config_db schema for YANG module changes

N/A

A picture of a cute animal (not mandatory but encouraged)

…indentation

Replace tab with space.

Signed-off-by: Roger Ho <roger530_ho@edge-core.com>
@roger530-ho
Copy link
Contributor Author

Fix that in #16982

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant