Skip to content

Commit b646e9f

Browse files
authored
Merge pull request #4042 from twz123/unix-build-tag
Use unix build tag
2 parents 79050de + 373da61 commit b646e9f

18 files changed

+16
-16
lines changed

cmd/backup/backup.go cmd/backup/backup_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

cmd/restore/restore.go cmd/restore/restore_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

internal/pkg/dir/dir_posix_test.go internal/pkg/dir/dir_unix_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2023 k0s authors

pkg/autopilot/controller/signal/k0s/restart.go pkg/autopilot/controller/signal/k0s/restart_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
// Copyright 2021 k0s authors
44
//

pkg/autopilot/controller/signal/k0s/restarted.go pkg/autopilot/controller/signal/k0s/restarted_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
// Copyright 2022 k0s authors
44
//

pkg/backup/config.go pkg/backup/config_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

pkg/backup/etcd.go pkg/backup/etcd_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

pkg/backup/filesystem.go pkg/backup/filesystem_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

pkg/backup/filesystem_posix_test.go pkg/backup/filesystem_unix_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2023 k0s authors

pkg/backup/manager.go pkg/backup/manager_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

pkg/backup/sqlitedb.go pkg/backup/sqlitedb_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

pkg/backup/util.go pkg/backup/util_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2021 k0s authors

pkg/config/runtime_posix.go pkg/config/runtime_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2023 k0s authors
File renamed without changes.
File renamed without changes.

pkg/constant/constant_posix.go pkg/constant/constant_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2020 k0s authors

pkg/supervisor/detachattr.go pkg/supervisor/detachattr_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2020 k0s authors

pkg/supervisor/pingpong_posix.go pkg/supervisor/pingpong_unix.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//go:build !windows
1+
//go:build unix
22

33
/*
44
Copyright 2023 k0s authors

0 commit comments

Comments
 (0)