X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/9a44fb9de57a2f44347aecd26928eee03ea3c60c..5012102bb1854af9ae591c755feb2ea9c874b708:/services/keep-balance/usage.go diff --git a/services/keep-balance/usage.go b/services/keep-balance/usage.go index b521c652cc..0f4effe6f4 100644 --- a/services/keep-balance/usage.go +++ b/services/keep-balance/usage.go @@ -1,3 +1,7 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + package main import ( @@ -7,19 +11,15 @@ import ( ) var exampleConfigFile = []byte(` - { - "Client": { - "APIHost": "zzzzz.arvadosapi.com:443", - "AuthToken": "xyzzy", - "Insecure": false - }, - "KeepServiceTypes": [ - "disk" - ], - "RunPeriod": "600s", - "CollectionBatchSize": 100000, - "CollectionBuffers": 1000 - }`) +Client: + APIHost: zzzzz.arvadosapi.com:443 + AuthToken: xyzzy + Insecure: false +KeepServiceTypes: + - disk +RunPeriod: 600s +CollectionBatchSize: 100000 +CollectionBuffers: 1000`) func usage() { fmt.Fprintf(os.Stderr, ` @@ -30,7 +30,7 @@ overreplicated and unreferenced blocks, and moves blocks to better positions (according to the rendezvous hash algorithm) so clients find them faster. -Usage: keep-balance -config path/to/config.json [options] +Usage: keep-balance [options] Options: `)