Skip to content

Commit

Permalink
Fix: No need to export internal utilities
Browse files Browse the repository at this point in the history
Signed-off-by: GLVS Kiriti <[email protected]>
  • Loading branch information
GLVSKiriti authored and poiana committed Apr 2, 2024
1 parent 71393e2 commit 47cb7b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion events/syscall/read_ssh_information.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var _ = events.Register(

func ReadSshInformation(h events.Helper) error {
// Also creates .ssh directory inside tempDirectory
tempDirectoryName, err := CreateSshDirectoryUnderHome()
tempDirectoryName, err := createSshDirectoryUnderHome()
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion events/syscall/utils_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func runAsUser(h events.Helper, username string, cmdName string, cmdArgs ...stri
}

// Creates a temp directory and .ssh directory inside it.
func CreateSshDirectoryUnderHome() (string, error) {
func createSshDirectoryUnderHome() (string, error) {
// Creates temporary data for testing.
var (
tempDirectoryName string
Expand Down

0 comments on commit 47cb7b1

Please sign in to comment.