File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff line change 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.
47package cmd
58
69import (
You can’t perform that action at this time.
0 commit comments