Skip to content

Commit 4b515c3

Browse files
committed
added comments
1 parent d62c12f commit 4b515c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drone/artifact.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"path/filepath"
1414
)
1515

16-
// Type of registry
16+
// RegistryType is the type of registry
1717
type RegistryType string
1818

1919
// Registries const
@@ -29,15 +29,15 @@ const (
2929
)
3030

3131
type (
32-
// Image stores the image data
32+
// Image stores the image data
3333
Image struct {
3434
Image string `json:"image"`
3535
Digest string `json:"digest"`
3636
}
37-
// Date stores the registry data
37+
// Data stores the registry data
3838
Data struct {
3939
RegistryType RegistryType `json:"registryType"`
40-
RegistryUrl string `json:"registryUrl"`
40+
RegistryURL string `json:"registryUrl"`
4141
Images []Image `json:"images"`
4242
}
4343
// DockerArtifact is the current artifact
@@ -58,7 +58,7 @@ func WritePluginArtifactFile(registryType RegistryType, artifactFilePath, regist
5858
}
5959
data := Data{
6060
RegistryType: registryType,
61-
RegistryUrl: registryURL,
61+
RegistryURL: registryURL,
6262
Images: images,
6363
}
6464

0 commit comments

Comments
 (0)