Skip to content

Commit

Permalink
quiet gofmt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
geaaru committed Sep 2, 2024
1 parent d2ab463 commit 5161d4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions cmd/profile/list.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/*
Copyright (C) 2020 Daniele Rondina <[email protected]>
Credits goes also to Gogs authors, some code portions and re-implemented design
are also coming from the Gogs project, which is using the go-macaron framework
Expand All @@ -17,7 +16,6 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package cmd_profile

Expand Down
2 changes: 1 addition & 1 deletion pkg/executor/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (e *LxdCExecutor) PurgeImages(opts *PurgeOpts) error {
nextImg:
}

for fingerprint, _ := range matchedFingerprints {
for fingerprint := range matchedFingerprints {
err = e.DeleteImageByFingerprint(fingerprint)
if err != nil {
inErr = true
Expand Down

0 comments on commit 5161d4d

Please sign in to comment.