fix: replace hardcoded paths for satellite
This commit is contained in:
parent
a4ac280350
commit
235d853f42
2 changed files with 3 additions and 3 deletions
|
|
@ -477,7 +477,7 @@ const getImageRequests = (state: RootState): ImageRequest[] => {
|
|||
|
||||
const getSatelliteCommand = (files?: File[]): string => {
|
||||
const satelliteCommandFile = files?.find(
|
||||
(file) => file.path === '/usr/local/sbin/register-satellite'
|
||||
(file) => file.path === SATELLITE_PATH
|
||||
);
|
||||
return satelliteCommandFile?.data ? atob(satelliteCommandFile.data) : '';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue