Skip to content

Commit

Permalink
client_delete: Tell user the name of a malformed client ID
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Nov 15, 2024
1 parent c5f37b5 commit e8cb48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vql/server/clients/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func (self DeleteClientPlugin) Call(ctx context.Context,
}

if !constants.ClientIdRegex.MatchString(arg.ClientId) {
scope.Log("ERROR:client_delete: Client Id should be of the form C.XXXX")
scope.Log("ERROR:client_delete: Client Id '%s' should be of the form C.XXXX", arg.ClientId)
return
}

Expand Down

0 comments on commit e8cb48d

Please sign in to comment.