This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 | |
100 23409 100 23409 0 0 66288 0 --:--:-- --:--:-- --:--:-- 66314 | |
ubuntu 16.04 x86_64 | |
Getting information for chefdk current for ubuntu... | |
downloading https://omnitruck.chef.io/current/chefdk/metadata?v=&p=ubuntu&pv=16.04&m=x86_64 | |
to file /tmp/install.sh.5059/metadata.txt | |
trying wget... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os" | |
"strconv" | |
"time" | |
_ "github.com/influxdata/influxdb1-client" // this is important because of the bug in go mod | |
client "github.com/influxdata/influxdb1-client/v2" |