Skip to content

Commit

Permalink
Merge pull request #54 from jody-frankowski/fix_deprecated_typo
Browse files Browse the repository at this point in the history
Fix a typo: replace Depricated by Deprecated.
  • Loading branch information
kotakanbe committed May 16, 2016
2 parents 76c32af + eecd2c6 commit 714ad18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion commands/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (p *PrepareCmd) SetFlags(f *flag.FlagSet) {
&p.useUnattendedUpgrades,
"use-unattended-upgrades",
false,
"[Depricated] For Ubuntu, install unattended-upgrades",
"[Deprecated] For Ubuntu, install unattended-upgrades",
)
}

Expand Down
4 changes: 2 additions & 2 deletions commands/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ func (p *ScanCmd) SetFlags(f *flag.FlagSet) {
&p.useYumPluginSecurity,
"use-yum-plugin-security",
false,
"[Depricated] For CentOS 5. Scan by yum-plugin-security or not (use yum check-update by default)",
"[Deprecated] For CentOS 5. Scan by yum-plugin-security or not (use yum check-update by default)",
)

f.BoolVar(
&p.useUnattendedUpgrades,
"use-unattended-upgrades",
false,
"[Depricated] For Ubuntu. Scan by unattended-upgrades or not (use apt-get upgrade --dry-run by default)",
"[Deprecated] For Ubuntu. Scan by unattended-upgrades or not (use apt-get upgrade --dry-run by default)",
)

}
Expand Down
2 changes: 1 addition & 1 deletion config/tomlloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (c TOMLLoader) Load(pathToToml, keyPass, sudoPass string) (err error) {
for name, v := range conf.Servers {

if 0 < len(v.KeyPassword) || 0 < len(v.Password) {
log.Warn("[Depricated] password and keypassword in config file are unsecure. Remove them immediately for a security reason. They will be removed in a future release.")
log.Warn("[Deprecated] password and keypassword in config file are unsecure. Remove them immediately for a security reason. They will be removed in a future release.")
}

s := ServerInfo{ServerName: name}
Expand Down

0 comments on commit 714ad18

Please sign in to comment.