Merge pull request #4 from Azure/finalEdits

fixed formatting
This commit is contained in:
juelm 2020-04-20 10:19:05 -07:00 коммит произвёл GitHub
Родитель df1276304c e7a2d3f2b0
Коммит 4d6dfb272a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
6 изменённых файлов: 21 добавлений и 7 удалений

Просмотреть файл

@ -1,8 +1,8 @@
# fluent-plugin-imds # fluent-plugin-imds
[Fluentd](https://fluentd.org/) filter plugin to do something. [Fluentd](https://fluentd.org/) filter plugin to add Azure metadata to logs.
TODO: write description for you plugin. Fluentd filter plugin to add Azure metadata to logs.
## Installation ## Installation
@ -28,13 +28,12 @@ $ bundle
## Configuration ## Configuration
You can generate configuration template: Sample Configuration:
``` <filter tag>
$ fluent-plugin-config-format filter imds @type imds
``` </filter>
You can copy and paste generated documents here.
# Contributing # Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a This project welcomes contributions and suggestions. Most contributions require you to agree to a

Просмотреть файл

@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
require "bundler" require "bundler"
Bundler::GemHelper.install_tasks Bundler::GemHelper.install_tasks

Просмотреть файл

@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
lib = File.expand_path("../lib", __FILE__) lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

Просмотреть файл

@ -1,4 +1,7 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
require "fluent/plugin/filter" require "fluent/plugin/filter"
require 'net/http' require 'net/http'
require 'uri' require 'uri'

Просмотреть файл

@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
$LOAD_PATH.unshift(File.expand_path("../../", __FILE__)) $LOAD_PATH.unshift(File.expand_path("../../", __FILE__))
require "test-unit" require "test-unit"
require "fluent/test" require "fluent/test"

Просмотреть файл

@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
require "helper" require "helper"
require "fluent/plugin/filter_imds.rb" require "fluent/plugin/filter_imds.rb"
require 'webmock/test_unit' require 'webmock/test_unit'