Merge pull request #621 from thockin/remove-vestigial-field-sync-command

Remove now-obsolete flag from struct
This commit is contained in:
Kubernetes Prow Robot 2022-08-29 04:46:37 -07:00 committed by GitHub
commit a1837b827a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 28 additions and 30 deletions

View File

@ -279,7 +279,6 @@ type repoSync struct {
link string // the name of the symlink to publish under `root`
authURL string // a URL to re-fetch credentials, or ""
sparseFile string // path to a sparse-checkout file
syncHookCmd string // command to run after each sync
log *logging.Logger
run *cmd.Runner
}
@ -496,7 +495,6 @@ func main() {
link: absLink,
authURL: *flAskPassURL,
sparseFile: *flSparseCheckoutFile,
syncHookCmd: *flSyncHookCommand,
log: log,
run: cmdRunner,
}