- (gmail) ishak.oktn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
K8S_DEV_BOX_NAME = "gsengun/k8s-dev-box" | |
K8S_DEV_BOX_VERSION = "17.12.27" | |
MASTER_NODE_IP_START="172.27.44.20" | |
WORKER_NODE_IP_START="172.27.44.10" | |
JOIN_TOKEN="abcdef.1234567890123456" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Specific error parser for django-rest-framework errors structure | |
* Tested on django-rest-framework v2.3.13 | |
* Live example at http://jsbin.com/wiqumo | |
* | |
* Error structure examples: | |
* | |
* // The most simple case | |
* { detail: "Authentication is required" } | |
* |