diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-19 11:15:56 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-02-19 12:31:21 +0100 |
commit | 8fa2d071344675200e15b23343cc92dace0e7d65 (patch) | |
tree | b41bcdd21ab8b9a4206705636f2910bc76423a28 /ogcp/models.py | |
parent | 6ec26d161e148d7e428ace954fb19b9edb5d4b67 (diff) |
views: call POST /refresh from get_client_setup()
Refresh the disk layout before any command that displays it, no need to manually
call command -> refresh.
this cannot be skipped, POST /setup is an asynchronous invocation in ogserver is
asynchronous, POST /refresh provides the existing disk layout, otherwise it
shows the existing layout in the database which is not complete.
this is also good in case someone manipulates the disk from the command line.
Diffstat (limited to 'ogcp/models.py')
0 files changed, 0 insertions, 0 deletions