Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Jan 8, 2024
1 parent 7445d35 commit a485a51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ endif
### These variables should not need tweaking.
###

SRC_PKGS := apis schema tests # directories which hold app source (not vendored)
SRC_PKGS := apis cmd schema tests # directories which hold app source (not vendored)
SRC_DIRS := $(SRC_PKGS)

DOCKER_PLATFORMS := linux/amd64 linux/arm linux/arm64
Expand Down
5 changes: 3 additions & 2 deletions cmd/generate-feature-graph/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ package main

import (
"bytes"
"os"

shell "gomodules.xyz/go-sh"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"kmodules.xyz/client-go/tools/parser"
uiv1alpha1 "kmodules.xyz/resource-metadata/apis/ui/v1alpha1"
"os"
)

var featureGVK = schema.GroupVersionKind{
Expand Down Expand Up @@ -89,7 +90,7 @@ func main() {
buf.WriteString("```")
buf.WriteRune('\n')

err = os.WriteFile("features.md", buf.Bytes(), 0644)
err = os.WriteFile("features.md", buf.Bytes(), 0o644)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit a485a51

Please sign in to comment.