Skip to content

Commit

Permalink
fix: file header added to new files
Browse files Browse the repository at this point in the history
  • Loading branch information
zelig committed Jan 25, 2024
1 parent 5dc1802 commit a1eb893
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkg/util/testutil/racedetection/off.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !race
// +build !race

package racedetection

const On = false


4 changes: 4 additions & 0 deletions pkg/util/testutil/racedetection/on.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build race
// +build race

Expand Down
4 changes: 4 additions & 0 deletions pkg/util/testutil/racedetection/race.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package racedetection

func IsOn() bool {
Expand Down

0 comments on commit a1eb893

Please sign in to comment.