summaryrefslogtreecommitdiff
path: root/pkg/bindings/generator
diff options
context:
space:
mode:
authorMatej Vasek <mvasek@redhat.com>2021-02-21 19:33:05 +0100
committerMatej Vasek <mvasek@redhat.com>2021-02-22 14:35:03 +0100
commitaf7a68fa8a6658931cc4640c519a9d1aebf834cc (patch)
tree569d747589f55ec76ee30d31ded04bc5d68cc4c9 /pkg/bindings/generator
parent10d52c05e23e75b9c608e100999cb55334732525 (diff)
downloadpodman-af7a68fa8a6658931cc4640c519a9d1aebf834cc.tar.gz
podman-af7a68fa8a6658931cc4640c519a9d1aebf834cc.tar.bz2
podman-af7a68fa8a6658931cc4640c519a9d1aebf834cc.zip
[NO TESTS NEEDED] Make binding util internal
The functions are supposed to be called only from generated code Signed-off-by: Matej Vasek <mvasek@redhat.com>
Diffstat (limited to 'pkg/bindings/generator')
-rw-r--r--pkg/bindings/generator/generator.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/bindings/generator/generator.go b/pkg/bindings/generator/generator.go
index fbca567d0..90f0bfaf5 100644
--- a/pkg/bindings/generator/generator.go
+++ b/pkg/bindings/generator/generator.go
@@ -81,7 +81,7 @@ func main() {
panic(err)
}
// always add reflect
- imports := []string{"\"reflect\"", "\"github.com/containers/podman/v3/pkg/bindings/util\""}
+ imports := []string{"\"reflect\"", "\"github.com/containers/podman/v3/pkg/bindings/internal/util\""}
for _, imp := range f.Imports {
imports = append(imports, imp.Path.Value)
}