summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-30 09:30:05 -0500
committerJeff Carr <[email protected]>2024-10-30 09:30:05 -0500
commit38bddac5417fcbae988495bd0d2f25b21188dd6c (patch)
tree4ab46592c2c5085ecac4dbdc15e2b7578beaf856
parent020de631c8da1f0dd674c0593acf5d814b713bf3 (diff)
passes droplet protobuf
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 45a6bb2..969be10 100644
--- a/main.go
+++ b/main.go
@@ -89,6 +89,7 @@ func createFilename(dir string, filename string) error {
newDisk := new(pb.Disk)
newDisk.Filename = filename
newDisk.Filepath = dir
+ newDroplet.Disks = append(newDroplet.Disks, newDisk)
bytes, err := newDroplet.MarshalJSON()
if err != nil {