From ab8b08fa7cee748bdef354167622e1c30bb6d035 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Mon, 3 Jul 2023 22:21:34 +1200 Subject: [PATCH] Remove unused method This is not a WritableAsset so it doesn't need a Files() method. --- pkg/asset/agent/image/agentartifacts.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/asset/agent/image/agentartifacts.go b/pkg/asset/agent/image/agentartifacts.go index d5cd7b7c810..5e1b0d1f362 100644 --- a/pkg/asset/agent/image/agentartifacts.go +++ b/pkg/asset/agent/image/agentartifacts.go @@ -185,12 +185,6 @@ func (a *AgentArtifacts) Name() string { return "Agent Installer Artifacts" } -// Files returns the files generated by the asset. -func (a *AgentArtifacts) Files() []*asset.File { - // Return empty array because File will never be loaded. - return []*asset.File{} -} - func createDir(bootArtifactsFullPath string) error { os.RemoveAll(bootArtifactsFullPath)