Skip to content

Commit 12e6ec0

Browse files
committed
Add comment doc
1 parent ccb20e6 commit 12e6ec0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/docker/builder.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,8 @@ func getCaVolume(docker *client.Client, ctx context.Context) (string, mount.Moun
415415
return caVolume, caMount, nil
416416
}
417417

418+
// getAppServiceVolume returns the correct mounts and volumes for providing the `/appservice` directory to homeserver containers
419+
// containing application service registration files to be used by the homeserver
418420
func getAppServiceVolume(docker *client.Client, ctx context.Context) (string, mount.Mount, error) {
419421
asVolume, err := docker.VolumeCreate(context.Background(), volume.VolumesCreateBody{
420422
//Driver: "overlay2",

0 commit comments

Comments
 (0)