Skip to content

Commit

Permalink
remove deprecation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Jun 2, 2023
1 parent fe1caf7 commit 177e1b1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions internal/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -364,37 +364,30 @@ func combine(value string, combineWith []string) string {
}
}

// Deprecated: use HostProcWithContext instead
func HostProc(combineWith ...string) string {
return GetEnv("HOST_PROC", "/proc", combineWith...)
}

// Deprecated: use HostSysWithContext instead
func HostSys(combineWith ...string) string {
return GetEnv("HOST_SYS", "/sys", combineWith...)
}

// Deprecated: use HostEtcWithContext instead
func HostEtc(combineWith ...string) string {
return GetEnv("HOST_ETC", "/etc", combineWith...)
}

// Deprecated: use HostVarWithContext instead
func HostVar(combineWith ...string) string {
return GetEnv("HOST_VAR", "/var", combineWith...)
}

// Deprecated: use HostRunWithContext instead
func HostRun(combineWith ...string) string {
return GetEnv("HOST_RUN", "/run", combineWith...)
}

// Deprecated: use HostDevWithContext instead
func HostDev(combineWith ...string) string {
return GetEnv("HOST_DEV", "/dev", combineWith...)
}

// Deprecated: use HostRootWithContext instead
func HostRoot(combineWith ...string) string {
return GetEnv("HOST_ROOT", "/", combineWith...)
}
Expand Down

0 comments on commit 177e1b1

Please sign in to comment.