File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -100,12 +100,6 @@ impl Client {
100
100
auth : RegistryAuth ,
101
101
reference : Reference ,
102
102
) -> Result < Option < String > > {
103
- // Opt-in to omitting layers for files that have been inlined into the manifest.
104
- // TODO: After full integration this can be turned on by default.
105
- let skip_inlined_files = !std:: env:: var_os ( "SPIN_OCI_SKIP_INLINED_FILES" )
106
- . unwrap_or_default ( )
107
- . is_empty ( ) ;
108
-
109
103
// For each component in the application, add layers for the wasm module and
110
104
// all static assets and update the locked application with the file digests.
111
105
let mut layers = Vec :: new ( ) ;
@@ -157,7 +151,7 @@ impl Client {
157
151
// As a workaround for OCI implementations that don't support very small blobs,
158
152
// don't push very small content that has been inlined into the manifest:
159
153
// https://github.com/distribution/distribution/discussions/4029
160
- let skip_layer = skip_inlined_files && content_inline;
154
+ let skip_layer = content_inline;
161
155
if !skip_layer {
162
156
layers. push ( layer) ;
163
157
}
You can’t perform that action at this time.
0 commit comments