Skip to content

Commit c351493

Browse files
authored
polish audit log words (#285)
1 parent b3dbe4b commit c351493

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

internal/cli/serverless/auditlog/config.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,19 @@ func ConfigCmd(h *internal.Helper) *cobra.Command {
8181

8282
var configCmd = &cobra.Command{
8383
Use: "config",
84-
Short: "Configure the database audit logging",
84+
Short: "Configure database audit logging",
8585
Args: cobra.NoArgs,
8686
Annotations: make(map[string]string),
87-
Example: fmt.Sprintf(` Conigure the database audit logging in interactive mode:
87+
Example: fmt.Sprintf(` Conigure database audit logging in interactive mode:
8888
$ %[1]s serverless audit-log config
8989
90-
Unredacted the database audit logging in non-interactive mode:
90+
Unredact the database audit log in non-interactive mode:
9191
$ %[1]s serverless audit-log config -c <cluster-id> --unredacted
9292
93-
Enable the database audit logging in non-interactive mode:
93+
Enable database audit logging in non-interactive mode:
9494
$ %[1]s serverless audit-log config -c <cluster-id> --enabled
9595
96-
Disable the database audit logging in non-interactive mode:
96+
Disable database audit logging in non-interactive mode:
9797
$ %[1]s serverless audit-log config -c <cluster-id> --enabled=false`, config.CliName),
9898
PreRunE: func(cmd *cobra.Command, args []string) error {
9999
return opts.MarkInteractive(cmd)
@@ -129,7 +129,7 @@ func ConfigCmd(h *internal.Helper) *cobra.Command {
129129
switch fieldName {
130130
case string(Unredacted):
131131
prompt := &survey.Confirm{
132-
Message: "unredacted the database audit logging?",
132+
Message: "unredact the database audit log?",
133133
Default: false,
134134
}
135135
var confirm bool
@@ -148,7 +148,7 @@ func ConfigCmd(h *internal.Helper) *cobra.Command {
148148
}
149149
case string(Enabled):
150150
prompt := &survey.Confirm{
151-
Message: "enable the database audit logging?",
151+
Message: "enable database audit logging?",
152152
Default: false,
153153
}
154154
var confirm bool
@@ -210,7 +210,7 @@ func ConfigCmd(h *internal.Helper) *cobra.Command {
210210
}
211211

212212
configCmd.Flags().StringP(flag.ClusterID, flag.ClusterIDShort, "", "The ID of the cluster to be updated.")
213-
configCmd.Flags().Bool(flag.AuditLogUnRedacted, false, "unredacted or redacted the database audit logging.")
214-
configCmd.Flags().Bool(flag.Enabled, false, "enable or disable the database audit logging.")
213+
configCmd.Flags().Bool(flag.AuditLogUnRedacted, false, "unredact or redact the database audit log.")
214+
configCmd.Flags().Bool(flag.Enabled, false, "enable or disable database audit logging.")
215215
return configCmd
216216
}

0 commit comments

Comments
 (0)