Skip to content

Commit

Permalink
add ConfigureTimeZone for non linux platforms
Browse files Browse the repository at this point in the history
[NO NEW TESTS NEEDED]

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan authored and kwilczynski committed Mar 13, 2024
1 parent 0d35c65 commit c39b4b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux
//go:build !windows && !darwin

package timezone

Expand Down
7 changes: 7 additions & 0 deletions pkg/timezone/timezone_unsupported.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//go:build windows || darwin

package timezone

func ConfigureContainerTimeZone(timezone, containerRunDir, mountPoint, etcPath, containerID string) (string, error) {
return "", nil
}

0 comments on commit c39b4b5

Please sign in to comment.