Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nexenta Exporter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Grewe
Nexenta Exporter
Commits
3ab8a822
Commit
3ab8a822
authored
7 years ago
by
Jan Grewe
Browse files
Options
Downloads
Patches
Plain Diff
Replace flag library to be able to use EnvVars
parent
cc2557f5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
glide.lock
+3
-1
3 additions, 1 deletion
glide.lock
main.go
+1
-1
1 addition, 1 deletion
main.go
with
4 additions
and
2 deletions
glide.lock
+
3
−
1
View file @
3ab8a822
hash: 09dcc55682d2ed07028b0682a29000bd39d1c225a2cd313e9b9049e72b990cd2
hash: 09dcc55682d2ed07028b0682a29000bd39d1c225a2cd313e9b9049e72b990cd2
updated: 2018-06-07T1
4:53:28.640281981
+02:00
updated: 2018-06-07T1
5:26:42.502950667
+02:00
imports:
imports:
- name: github.com/beorn7/perks
- name: github.com/beorn7/perks
version: 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
version: 4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9
...
@@ -13,6 +13,8 @@ imports:
...
@@ -13,6 +13,8 @@ imports:
version: c12348ce28de40eed0136aa2b644d0ee0650e56c
version: c12348ce28de40eed0136aa2b644d0ee0650e56c
subpackages:
subpackages:
- pbutil
- pbutil
- name: github.com/namsral/flag
version: 71ceffbeb0ba60fccc853971bb3ed4d7d90bfd04
- name: github.com/prometheus/client_golang
- name: github.com/prometheus/client_golang
version: 967789050ba94deca04a5e84cce8ad472ce313c1
version: 967789050ba94deca04a5e84cce8ad472ce313c1
subpackages:
subpackages:
...
...
This diff is collapsed.
Click to expand it.
main.go
+
1
−
1
View file @
3ab8a822
package
main
package
main
import
(
import
(
"flag"
"
github.com/namsral/
flag"
"net/http"
"net/http"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/prometheus/client_golang/prometheus/promhttp"
"fmt"
"fmt"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment