File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def _check_engine_multiarch_support(engine: OCIContainerEngineConfig) -> bool:
104104 client_api_version = Version (version_info ["Client" ]["ApiVersion" ])
105105 engine_api_version = Version (version_info ["Server" ]["ApiVersion" ])
106106 multiarch_supported = min (client_api_version , engine_api_version ) >= Version ("1.32" )
107- if multiarch_supported and int (version_info ["Client" ]["Version" ]) < 20 :
107+ if multiarch_supported and int (version_info ["Client" ]["Version" ]. split ( "." )[ 0 ] ) < 20 :
108108 # check cli version because version < 20.x consider that experimental must be turned on
109109 # for --platform to be allowed.
110110 multiarch_supported = version_info ["Server" ].get ("Experimental" , False )
You can’t perform that action at this time.
0 commit comments