mirror of
https://github.com/Azure/k8s-set-context.git
synced 2026-06-23 15:29:30 +08:00
changed action for arc cluster to use az connectedk8s proxy
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
var grammar = require('./grammar');
|
||||
var gparser = require('../generated/parser');
|
||||
|
||||
var Parser = function() {
|
||||
|
||||
var parser = new gparser.Parser();
|
||||
|
||||
var _parseError = parser.parseError;
|
||||
parser.yy.parseError = function() {
|
||||
if (parser.yy.ast) {
|
||||
parser.yy.ast.initialize();
|
||||
}
|
||||
_parseError.apply(parser, arguments);
|
||||
}
|
||||
|
||||
return parser;
|
||||
|
||||
};
|
||||
|
||||
Parser.grammar = grammar;
|
||||
module.exports = Parser;
|
||||
Reference in New Issue
Block a user