@@ -306,7 +306,7 @@ func (r *CachedImageResource) Read(ctx context.Context, req resource.ReadRequest
306
306
if err != nil {
307
307
if ! strings .Contains (err .Error (), "MANIFEST_UNKNOWN" ) {
308
308
// Explicitly not making this an error diag.
309
- resp .Diagnostics .AddWarning ("Unable to check remote image! " ,
309
+ resp .Diagnostics .AddWarning ("Unable to check remote image. " ,
310
310
fmt .Sprintf ("The repository %q returned the following error while checking for a cached image %q: %q" ,
311
311
data .CacheRepo .ValueString (),
312
312
data .Image .ValueString (),
@@ -316,7 +316,7 @@ func (r *CachedImageResource) Read(ctx context.Context, req resource.ReadRequest
316
316
}
317
317
// Image does not exist any longer! Remove the resource so we can re-create
318
318
// it next time.
319
- resp .Diagnostics .AddWarning ("Previously built image not found, recreating! " ,
319
+ resp .Diagnostics .AddWarning ("Previously built image not found, recreating. " ,
320
320
fmt .Sprintf ("The repository %q does not contain the cached image %q. It will be rebuilt in the next apply." ,
321
321
data .CacheRepo .ValueString (),
322
322
data .Image .ValueString (),
@@ -379,7 +379,7 @@ func (r *CachedImageResource) Create(ctx context.Context, req resource.CreateReq
379
379
// FIXME: there are legit errors that can crop up here.
380
380
// We should add a sentinel error in Kaniko for uncached layers, and check
381
381
// it here.
382
- resp .Diagnostics .AddWarning ("Cached image not found! " , fmt .Sprintf (
382
+ resp .Diagnostics .AddWarning ("Cached image not found. " , fmt .Sprintf (
383
383
"Failed to find cached image in repository %q. It will be rebuilt in the next apply. Error: %s" ,
384
384
data .CacheRepo .ValueString (),
385
385
err .Error (),
0 commit comments