Skip to content

Commit 534f83d

Browse files
delete latest header read
1 parent 11ab706 commit 534f83d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/cmd/marketplace/delete.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ func deleteItemByItemIDAndVersion(ctx context.Context, client *client.APIClient,
130130
return err
131131
}
132132

133-
asd := resp.Header().Get("X-Marketplace-Item-Latest-Version:")
134-
fmt.Printf("\nasd %s\n", asd)
133+
latestVersion := resp.Header().Get("X-Marketplace-Item-Latest-Version")
134+
fmt.Printf("\nasd %s\n", latestVersion)
135135
return nil
136136
}
137137

0 commit comments

Comments
 (0)