From 8150239f80436073540b944e49d81df0be558c3e Mon Sep 17 00:00:00 2001 From: Matt Moore Date: Mon, 20 Dec 2021 08:43:13 -0800 Subject: [PATCH] Fix dates, interface check. --- pkg/publish/recorder.go | 2 +- pkg/publish/recorder_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/publish/recorder.go b/pkg/publish/recorder.go index 1eaea54418..ed6e4fced7 100644 --- a/pkg/publish/recorder.go +++ b/pkg/publish/recorder.go @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC All Rights Reserved. +// Copyright 2021 Google LLC All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/pkg/publish/recorder_test.go b/pkg/publish/recorder_test.go index 4cd7481be6..ac7920f497 100644 --- a/pkg/publish/recorder_test.go +++ b/pkg/publish/recorder_test.go @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC All Rights Reserved. +// Copyright 2021 Google LLC All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ type cbPublish struct { cb func(context.Context, build.Result, string) (name.Reference, error) } -var _ Interface = (*slowpublish)(nil) +var _ Interface = (*cbPublish)(nil) func (sp *cbPublish) Publish(ctx context.Context, br build.Result, ref string) (name.Reference, error) { return sp.cb(ctx, br, ref)