Skip to content

Commit

Permalink
run gofumpt
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiamoe committed Feb 9, 2024
1 parent 1abb9b4 commit 116101d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/runtime/profiler/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ func NewMemoryProbe(config MemoryConfig) (Probe, error) {
func (m *memoryProbe) Start() (io.Closer, error) {
var err error
m.file, err = os.Create(m.config.FileName)

if err != nil {
return nil, fmt.Errorf("error creating memory profiling file %q: %w", m.config.FileName, err)
}
Expand Down
1 change: 0 additions & 1 deletion pkg/testutils/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ func (c *Config) Create() (*Cluster, error) {
c.name,
kindOptions...,
)

if err != nil {
return nil, err
}
Expand Down

0 comments on commit 116101d

Please sign in to comment.