Finalize inbox artifacts and error protocol
This commit is contained in:
@@ -30,7 +30,7 @@ func newRenewCmd(root *rootOptions) *cobra.Command {
|
||||
agent = root.agent
|
||||
}
|
||||
if agent == "" {
|
||||
return fmt.Errorf("agent is required")
|
||||
return protocol.InvalidInput("agent is required", nil)
|
||||
}
|
||||
|
||||
sqlDB, err := db.Open(ctx, root.dbPath)
|
||||
|
||||
Reference in New Issue
Block a user