Skip to content

Commit

Permalink
Update config.d
Browse files Browse the repository at this point in the history
* --download-only and --local-first cannot be used together
  • Loading branch information
abraunegg committed Oct 19, 2023
1 parent 1449855 commit 25015da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config.d
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,12 @@ class ApplicationConfig {
operationalConflictDetected = true;
}

// --download-only and --local-first cannot be used together
if ((getValueBool("download_only")) && (!getValueBool("local_first"))) {
log.error("ERROR: --download-only cannot be used with --local-first .");
operationalConflictDetected = true;
}

// Return bool value indicating if we have an operational conflict
return operationalConflictDetected;
}
Expand Down

0 comments on commit 25015da

Please sign in to comment.