Skip to content

Commit 6c666c9

Browse files
author
eversC
committed
Improve git and keywriter filenames
1 parent 2cc7080 commit 6c666c9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ single sources multiple times.
107107
## Key Sources
108108

109109
The `AccountKeyLocations` section of config holds details of the places where the keys
110-
are stored. e.g.:
110+
are stored, e.g.:
111111

112112
```JSON
113113
"AccountKeyLocations": [{
@@ -140,7 +140,7 @@ deployment has been successful after committing to a GitHub repository. If that
140140
verification isn't required, you can disable it using the `VerifyCircleCISuccess`
141141
boolean.
142142

143-
For any GitHub configure key source, the whole process will be aborted
143+
For any GitHub key location, the whole process will be aborted
144144
if there is no `KmsKey` value set. Unencrypted keys should **never** be committed
145145
to a Git repository.
146146

pkg/location/git.go pkg/location/github.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func (gitHub GitHub) Write(serviceAccountName, keyID, key string, creds cred.Cre
3535

3636
// const localDir = "/etc/cloud-key-rotator/cloud-key-rotator-tmp-repo"
3737

38-
const localDir = "/tmp/tmp-repo2"
38+
const localDir = "/etc/cloud-key-rotator/cloud-key-rotator-tmp-repo"
3939

4040
defer os.RemoveAll(localDir)
4141

File renamed without changes.

0 commit comments

Comments
 (0)