refactor(lint): fix lint warnings (#967)
This commit is contained in:
@@ -1099,6 +1099,7 @@ type Image struct {
|
||||
IgnoreCves []string `json:"ignoreCves,omitempty"`
|
||||
}
|
||||
|
||||
// GetFullName returns a full name of the image
|
||||
func (i *Image) GetFullName() string {
|
||||
if i.Digest != "" {
|
||||
return i.Name + "@" + i.Digest
|
||||
|
||||
Reference in New Issue
Block a user