File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -565,13 +565,19 @@ func mustPrepareService(generateAutoKeyFile bool) (*service.Service, service.Boo
565
565
if ! service .ServiceMode (mode ).SupportsArangoSync () {
566
566
log .Fatalf ("ArangoSync is not supported in combination with mode '%s'\n " , mode )
567
567
}
568
- // Check arangosync executable
569
568
if ! runningInDocker {
569
+ // Check arangosync executable
570
570
if _ , err := os .Stat (arangoSyncPath ); os .IsNotExist (err ) {
571
571
log .Errorf ("Cannot find arangosync (expected at %s)." , arangoSyncPath )
572
572
log .Fatal ("Please install ArangoSync locally or run the ArangoDB starter in docker (see README for details)." )
573
573
}
574
574
log .Debugf ("Using %s as default arangosync executable." , arangoSyncPath )
575
+ } else {
576
+ // Check arangosync docker image
577
+ if dockerArangoSyncImage == "" {
578
+ // Default to arangod docker image
579
+ dockerArangoSyncImage = dockerArangodImage
580
+ }
575
581
}
576
582
if startMaster := optionalBool (startSyncMaster , true ); startMaster {
577
583
if syncMasterKeyFile == "" {
You can’t perform that action at this time.
0 commit comments