@@ -43,7 +43,7 @@ def __init__(self, mongodburl=None ):
43
43
'keyword' , 'uniquerunkey' , 'cat' , 'args' , 'execmode' ,
44
44
'showinview' , 'displayname' , 'mimetype' , 'path' , 'desktopfile' ,
45
45
'sha_id' , 'created' , 'executablefilename' , 'os' ,
46
- 'secrets_requirement' , 'architecture' ]
46
+ 'secrets_requirement' , 'architecture' , 'wm_class' , 'fileextensions' , 'legacyfileextensions' ]
47
47
48
48
# define private attributs keep
49
49
self .private_attr_list = [ 'acl' , 'rules' , 'securityContext' ]
@@ -431,7 +431,8 @@ def json_imagetoapp( self, json_image):
431
431
name = self .get_command_container_str ( command_container )
432
432
433
433
# read the labels 'oc.launch' or 'oc.wm_class' as launch
434
- launch = labels .get ('oc.launch' ) or labels .get ('oc.wm_class' ) or name
434
+ launch = labels .get ('oc.launch' )
435
+ wm_class = labels .get ('oc.wm_class' )
435
436
436
437
# read the labels 'oc.path' as path
437
438
path = labels .get ('oc.path' )
@@ -477,6 +478,7 @@ def json_imagetoapp( self, json_image):
477
478
'rules' : rules ,
478
479
'acl' : acl ,
479
480
'launch' : launch ,
481
+ 'wm_class' : wm_class ,
480
482
'name' : name ,
481
483
'icon' : icon ,
482
484
'icondata' : icondata ,
0 commit comments