@@ -30,8 +30,7 @@ await PushToLocalRegistryAsync(
30
30
BuildEngine ,
31
31
telemetry ,
32
32
cancellationToken ,
33
- destinationImageReference . LocalRegistry ! . LoadAsync ,
34
- Strings . ContainerBuilder_ImageUploadedToLocalDaemon ) . ConfigureAwait ( false ) ;
33
+ destinationImageReference . LocalRegistry ! . LoadAsync ) . ConfigureAwait ( false ) ;
35
34
break ;
36
35
case DestinationImageReferenceKind . RemoteRegistry :
37
36
await PushToRemoteRegistryAsync (
@@ -74,7 +73,6 @@ await PushToLocalRegistryAsync(
74
73
telemetry ,
75
74
cancellationToken ,
76
75
destinationImageReference . LocalRegistry ! . LoadAsync ,
77
- Strings . ContainerBuilder_ImageUploadedToLocalDaemon ,
78
76
logWarningForMultiArch : true ) . ConfigureAwait ( false ) ;
79
77
break ;
80
78
case DestinationImageReferenceKind . RemoteRegistry :
@@ -113,7 +111,6 @@ private static async Task PushToLocalRegistryAsync<T>(
113
111
Telemetry telemetry ,
114
112
CancellationToken cancellationToken ,
115
113
Func < T , SourceImageReference , DestinationImageReference , CancellationToken , Task > loadFunc ,
116
- string successMessage ,
117
114
bool logWarningForMultiArch = false )
118
115
{
119
116
ILocalRegistry localRegistry = destinationImageReference . LocalRegistry ! ;
@@ -128,7 +125,7 @@ private static async Task PushToLocalRegistryAsync<T>(
128
125
await loadFunc ( image , sourceImageReference , destinationImageReference , cancellationToken ) . ConfigureAwait ( false ) ;
129
126
if ( BuildEngine != null )
130
127
{
131
- Log . LogMessage ( MessageImportance . High , successMessage , destinationImageReference , localRegistry ) ;
128
+ Log . LogMessage ( MessageImportance . High , Strings . ContainerBuilder_ImageUploadedToLocalDaemon , destinationImageReference , localRegistry ) ;
132
129
}
133
130
}
134
131
catch ( ContainerHttpException e )
0 commit comments