Skip to content

Commit b0a0e59

Browse files
committed
chore: linting
1 parent 67cfedc commit b0a0e59

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

cmd/rot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,10 @@ the utility will first generate an audit report and then execute the add/remove
769769
stID = sType.StoreType // This is the template type ID
770770
if stID >= 0 {
771771
log.Printf("[DEBUG] Store type ID: %d\n", stID)
772-
stores, sErr := kfClient.ListCertificateStores() //TODO: Should this be cached and only ran once?
772+
stores, sErr := kfClient.ListCertificateStores()
773773
if sErr != nil {
774774
fmt.Printf("Error getting certificate stores of type '%s': %s\n", s, sErr)
775-
log.Fatalf("[ERROR] Error getting certificate stores of type '%s': %s", s, sErr) // TODO: Should this be allowed to continue?
775+
log.Fatalf("[ERROR] Error getting certificate stores of type '%s': %s", s, sErr)
776776
}
777777
for _, store := range *stores {
778778
if store.CertStoreType == stID {

cmd/stores_create.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
/*
2-
Copyright � 2022 NAME HERE <EMAIL ADDRESS>
3-
*/
1+
// Package cmd Copyright 2022 Keyfactor
2+
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
3+
// You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
4+
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
5+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
6+
// and limitations under the License.
47
package cmd
58

69
import (

0 commit comments

Comments
 (0)