shamrickus commented on a change in pull request #5924:
URL: https://github.com/apache/trafficcontrol/pull/5924#discussion_r651160443
##########
File path: tools/traffic_vault_migrate/traffic_vault_migrate.go
##########
@@ -423,6 +422,17 @@ type URLSigKey struct {
tc.URLSigKeys
}
+func writeKeys(filename string, data interface{}) error {
+ bytes, err := json.Marshal(&data)
+ if err != nil {
+ return err
+ }
+ if err = ioutil.WriteFile(filename, bytes, 0640); err != nil {
Review comment:
Removed all group perms
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]