Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Jun 22, 2021
1 parent 11efe1d commit cc209a4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions cmd/tools_cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,6 @@ func signCert(cmd *cobra.Command, args []string) error {
`
var err error

// opts := []clab.ClabOption{
// clab.WithDebug(debug),
// clab.WithTimeout(timeout),
// }
// c := clab.NewContainerLab(opts...)

cfssllog.Level = cfssllog.LevelError
if debug {
cfssllog.Level = cfssllog.LevelDebug
Expand Down Expand Up @@ -209,5 +203,5 @@ func signCert(cmd *cobra.Command, args []string) error {
return fmt.Errorf("failed to generate and sign certificate: %v", err)
}

return err
return nil
}

0 comments on commit cc209a4

Please sign in to comment.