Skip to content

Commit

Permalink
Merge pull request #39 from slok/slok/minor-fix
Browse files Browse the repository at this point in the history
Minor cleanup
  • Loading branch information
slok authored Oct 11, 2024
2 parents 955eba3 + 1061f58 commit 40faacd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/kube-code-generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"io"
"io/fs"
"log/slog"
"os"
"path/filepath"

Expand Down Expand Up @@ -79,7 +78,7 @@ func run(ctx context.Context, args []string, stdout, stderr io.Writer) error {

func generateGoCode(ctx context.Context, cmdCfg CmdConfig, logger log.Logger, genOutPkg string) error {
if cmdCfg.GoCodeOutPath == "" {
slog.Info("Ignoring Go code generation")
logger.Infof("Ignoring Go code generation")
return nil
}

Expand Down

0 comments on commit 40faacd

Please sign in to comment.