kmesh-net / kmesh

High Performance ServiceMesh Data Plane Based on Programmable Kernel
https://kmesh.net
Apache License 2.0
361 stars 46 forks source link

make format failed #455

Closed hzxuzhonghu closed 1 week ago

hzxuzhonghu commented 1 week ago

What happened:

Run make format

/root/go/src/kmesh.net/kmesh/./.clang-format:86:3: error: unknown key 'BeforeElseif'
  BeforeElseif: false
  ^~~~~~~~~~~~
Error reading /root/go/src/kmesh.net/kmesh/./.clang-format: Invalid argument
/root/go/src/kmesh.net/kmesh/./.clang-format:86:3: error: unknown key 'BeforeElseif'
  BeforeElseif: false
  ^~~~~~~~~~~~
Error reading /root/go/src/kmesh.net/kmesh/./.clang-format: Invalid argument
/root/go/src/kmesh.net/kmesh/./.clang-format:86:3: error: unknown key 'BeforeElseif'
  BeforeElseif: false
  ^~~~~~~~~~~~
Error reading /root/go/src/kmesh.net/kmesh/./.clang-format: Invalid argument
/root/go/src/kmesh.net/kmesh/./.clang-format:86:3: error: unknown key 'BeforeElseif'
  BeforeElseif: false
  ^~~~~~~~~~~~
Error reading /root/go/src/kmesh.net/kmesh/./.clang-format: Invalid argument
/root/go/src/kmesh.net/kmesh/./.clang-format:86:3: error: unknown key 'BeforeElseif'
  BeforeElseif: false
  ^~~~~~~~~~~~
Error reading /root/go/src/kmesh.net/kmesh/./.clang-format: Invalid argument
/root/go/src/kmesh.net/kmesh/./.clang-format:86:3: error: unknown key 'BeforeElseif'
  BeforeElseif: false

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

hzxuzhonghu commented 1 week ago

cc @nlgwcy

hzxuzhonghu commented 1 week ago

Locall

clang-format --version Ubuntu clang-format version 14.0.0-1ubuntu1.1

nlgwcy commented 1 week ago

/close