summaryrefslogtreecommitdiff
path: root/libpod/image
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/image')
-rw-r--r--libpod/image/filters.go2
-rw-r--r--libpod/image/utils.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/libpod/image/filters.go b/libpod/image/filters.go
index c1dd1e5cd..95ef3b44a 100644
--- a/libpod/image/filters.go
+++ b/libpod/image/filters.go
@@ -67,7 +67,7 @@ func OutputImageFilter(userImage *Image) ResultFilter {
}
}
-// FilterImages filters images using a set of predefined fitler funcs
+// FilterImages filters images using a set of predefined filter funcs
func FilterImages(images []*Image, filters []ResultFilter) []*Image {
var filteredImages []*Image
for _, image := range images {
diff --git a/libpod/image/utils.go b/libpod/image/utils.go
index c1b2aacde..5392b86f0 100644
--- a/libpod/image/utils.go
+++ b/libpod/image/utils.go
@@ -72,7 +72,7 @@ func getCopyOptions(reportWriter io.Writer, signaturePolicyPath string, srcDocke
}
}
-// getPolicyContext sets up, intializes and returns a new context for the specified policy
+// getPolicyContext sets up, initializes and returns a new context for the specified policy
func getPolicyContext(ctx *types.SystemContext) (*signature.PolicyContext, error) {
policy, err := signature.DefaultPolicy(ctx)
if err != nil {