Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mbyczkowski committed Aug 29, 2018
1 parent 2c237ea commit 6bf4ae6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/keyrestore/keyrestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ func main() {
var (
app = kingpin.New("keyrestore", "Unpack and install a Keywhiz backup bundle")
configFile = app.Flag("config", "The base YAML configuration file").PlaceHolder("config.yaml").Required().ExistingFile()
user = app.Flag("user", "Default user to install files as (unless overriden in bundle)").PlaceHolder("USER").Required().String()
group = app.Flag("group", "Default group to install files as (unless overriden in bundle)").PlaceHolder("GROUP").Required().String()
user = app.Flag("user", "Default user to install files as (unless overridden in bundle)").PlaceHolder("USER").Required().String()
group = app.Flag("group", "Default group to install files as (unless overridden in bundle)").PlaceHolder("GROUP").Required().String()
dirName = app.Flag("dir-name", "Directory (under the global secrets directory) to install files into").PlaceHolder("NAME").Required().String()
bundleFile = app.Arg("bundle", "Keywhiz backup bundle (JSON)").Required().ExistingFile()
)
Expand Down
4 changes: 2 additions & 2 deletions ownership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ func TestFallback(t *testing.T) {

// Verify we return an error if a file is missing
func TestFileMissing(t *testing.T) {
_, err := lookupUID("group1", "non-existant-file")
_, err := lookupUID("group1", "non-existent-file")
assert.Error(t, err)

_, err = lookupGID("group1", "non-existant-file")
_, err = lookupGID("group1", "non-existent-file")
assert.Error(t, err)
}

Expand Down

0 comments on commit 6bf4ae6

Please sign in to comment.