SNMP EXPORTER的GENERATOR配置文件格式问题处理

Posted by backup@lfo.cc; tagged with none

# 备份原始文件
cp generator.yml generator.yml.bak

# 移除每行开头的空格或Tab
sed 's/^[ \t]*//' generator.yml.bak > generator.yml

# 再次运行生成
./generator generate