Skip to content

Commit 6dc16e9

Browse files
committed
chore: restful_api - remove unused code
1 parent 2a5251c commit 6dc16e9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

glances/outputs/glances_restful_api.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,6 @@ def __update__(self):
174174
self.stats.update()
175175
self.timer = Timer(self.args.cached_time)
176176

177-
def app(self):
178-
return self._app()
179-
180177
def authentication(self, creds: Annotated[HTTPBasicCredentials, Depends(security)]):
181178
"""Check if a username/password combination is valid."""
182179
if creds.username == self.args.username:

0 commit comments

Comments
 (0)