Skip to content

Commit

Permalink
Fix for empty vault settings, throw error
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Jun 23, 2023
1 parent 5c23a62 commit 95f43b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions machinery/src/cloud/Cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,10 @@ func VerifyPersistence(c *gin.Context) {
Data: "VerifyPersistence: Something went wrong while verifying storage credentials:" + err.Error(),
})
}
} else {
c.JSON(400, models.APIResponse{
Data: "VerifyPersistence: please fill-in the required Kerberos Vault credentials.",
})
}
}
} else {
Expand Down

0 comments on commit 95f43b6

Please sign in to comment.