File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ available devices and more. All responses are in `JSON` format.
298
298
- ` /api/models?distro=&version=&model_search=<search string> ` Get all supported
299
299
devices of distro/version that contain the ` model_search ` string
300
300
301
- - ` /api/packages_image?distro=&version=&target=&subtarget=& profile= ` Get all default
301
+ - ` /api/packages_image?distro=&version=&target=&profile= ` Get all default
302
302
packages installed on an image
303
303
304
304
### Request stats
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def check_bad_target(self):
52
52
self .request ["target" ] = self .request_json ["target" ]
53
53
54
54
# Check if sysupgrade is supported.
55
- # If None is returned the subtarget isn't found
55
+ # If None is returned the target isn't found
56
56
sysupgrade_supported = self .database .sysupgrade_supported (self .request )
57
57
if sysupgrade_supported is None :
58
58
self .response_json ["error" ] = "unknown target {}" .format (
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ def run(self):
32
32
workers .append (worker )
33
33
34
34
while True :
35
- outdated_subtarget = self .database .get_outdated_target ()
36
- if outdated_subtarget :
37
- log .info ("found outdated subtarget %s" , outdated_subtarget )
38
- self .update_queue .put (outdated_subtarget )
35
+ outdated_target = self .database .get_outdated_target ()
36
+ if outdated_target :
37
+ log .info ("found outdated target %s" , outdated_target )
38
+ self .update_queue .put (outdated_target )
39
39
else :
40
40
time .sleep (5 )
You can’t perform that action at this time.
0 commit comments