Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: can not read a block mapping entry; a multiline key may not be an implicit key #5552

Open
burkedavison opened this issue Oct 31, 2024 · 0 comments
Assignees
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@burkedavison
Copy link
Member

buffer: "# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

releaseType: simple
handleGHRelease: POST https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/instances/INSTANCE_NAME/updateAccessConfig?networkInterface=nic0
{
  "setPublicPtr": false,
  "type": "ONE_TO_ONE_NAT"
}

"
reason: "can not read a block mapping entry; a multiline key may not be an implicit key"
stack: "YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (20:2)

 17 | {
 18 |   "setPublicPtr": false,
 19 |   "type": "ONE_TO_ONE_NAT"
 20 | }
-------^
 21 | 
    at generateError (/usr/src/app/node_modules/js-yaml/lib/loader.js:183:10)
    at throwError (/usr/src/app/node_modules/js-yaml/lib/loader.js:187:9)
    at readBlockMapping (/usr/src/app/node_modules/js-yaml/lib/loader.js:1145:9)
    at composeNode (/usr/src/app/node_modules/js-yaml/lib/loader.js:1441:12)
    at readDocument (/usr/src/app/node_modules/js-yaml/lib/loader.js:1625:3)
    at loadDocuments (/usr/src/app/node_modules/js-yaml/lib/loader.js:1688:5)
    at Object.load (/usr/src/app/node_modules/js-yaml/lib/loader.js:1714:19)
    at getConfig (/usr/src/app/node_modules/@google-automations/bot-config-utils/build/src/bot-config-utils.js:345:46)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /usr/src/app/build/src/release-please.js:484:37"
@burkedavison burkedavison added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

2 participants