Created
December 8, 2020 14:37
-
-
Save sohankunkerkar/e7a8a97be039283d841db527acd7d360 to your computer and use it in GitHub Desktop.
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
``` | |
internal/providers/ibmcloud/ibmcloud.go:56:17: Error return value of `f.Logger.Err` is not checked (errcheck) | |
f.Logger.Err("timed out while fetching config from %s", name) | |
^ | |
internal/providers/ibmcloud/ibmcloud.go:58:17: Error return value of `f.Logger.Err` is not checked (errcheck) | |
f.Logger.Err("failed to fetch config from %s: %v", name, err) | |
^ | |
internal/providers/ibmcloud/ibmcloud.go:73:16: Error return value of `f.Logger.Info` is not checked (errcheck) | |
f.Logger.Info("cidata drive was not available in time. Continuing without a config...") | |
^ | |
internal/providers/ibmcloud/ibmcloud.go:86:15: Error return value of `logger.Debug` is not checked (errcheck) | |
logger.Debug("config drive (%q) not found. Waiting...", path) | |
^ | |
internal/providers/ibmcloud/ibmcloud.go:94:14: Error return value of `logger.Debug` is not checked (errcheck) | |
logger.Debug("creating temporary mount point") | |
^ | |
internal/providers/ibmcloud/ibmcloud.go:105:20: Error return value of `logger.LogOp` is not checked (errcheck) | |
defer logger.LogOp( | |
^ | |
internal/providers/azure/azure.go:72:14: Error return value of `logger.Debug` is not checked (errcheck) | |
logger.Debug("waiting for config DVD...") | |
^ | |
internal/providers/azure/azure.go:93:20: Error return value of `logger.LogOp` is not checked (errcheck) | |
defer logger.LogOp( | |
^ | |
internal/providers/azure/azure.go:117:14: Error return value of `logger.Info` is not checked (errcheck) | |
logger.Info("failed to open config device: %v", err) | |
^ | |
internal/providers/azure/azure.go:132:14: Error return value of `logger.Info` is not checked (errcheck) | |
logger.Info("drive status: no info") | |
^ | |
internal/providers/azure/azure.go:134:14: Error return value of `logger.Info` is not checked (errcheck) | |
logger.Info("drive status: no disc") | |
^ | |
internal/providers/azure/azure.go:142:13: Error return value of `logger.Err` is not checked (errcheck) | |
logger.Err("failed to get drive status: %s", errno.Error()) | |
^ | |
tests/servers/servers.go:64:9: Error return value of `w.Write` is not checked (errcheck) | |
w.Write(servedConfig) | |
^ | |
tests/servers/servers.go:68:9: Error return value of `w.Write` is not checked (errcheck) | |
w.Write(servedContents) | |
^ | |
tests/servers/servers.go:72:9: Error return value of `w.Write` is not checked (errcheck) | |
w.Write(fixtures.PublicKey) | |
^ | |
tests/servers/servers.go:269:21: Error return value of `s.ListenAndServe` is not checked (errcheck) | |
go s.ListenAndServe() | |
^ | |
tests/servers/servers.go:296:21: Error return value of `s.ListenAndServe` is not checked (errcheck) | |
go s.ListenAndServe(":69") | |
^ | |
internal/resource/http.go:103:15: Error return value of `f.Logger.Err` is not checked (errcheck) | |
f.Logger.Err("Unable to read system certificate pool: %s", err) | |
^ | |
internal/resource/http.go:134:16: Error return value of `f.Logger.Info` is not checked (errcheck) | |
f.Logger.Info("Adding %q to list of CAs", cert.Subject.CommonName) | |
^ | |
internal/resource/http.go:144:16: Error return value of `f.Logger.Crit` is not checked (errcheck) | |
f.Logger.Crit("invalid CA: %v", ignerrors.ErrSourceRequired) | |
^ | |
internal/resource/http.go:152:16: Error return value of `f.Logger.Crit` is not checked (errcheck) | |
f.Logger.Crit("Unable to parse CA URL: %s", err) | |
^ | |
internal/resource/http.go:157:16: Error return value of `f.Logger.Crit` is not checked (errcheck) | |
f.Logger.Crit("Unable to get hasher: %s", err) | |
^ | |
internal/resource/http.go:293:16: Error return value of `c.logger.Info` is not checked (errcheck) | |
c.logger.Info("GET %s: attempt #%d", url, attempt) | |
^ | |
internal/resource/http.go:297:17: Error return value of `c.logger.Info` is not checked (errcheck) | |
c.logger.Info("GET result: %s", http.StatusText(resp.StatusCode)) | |
^ | |
internal/resource/http.go:303:17: Error return value of `c.logger.Info` is not checked (errcheck) | |
c.logger.Info("GET error: %v", err) | |
^ | |
internal/resource/url.go:351:18: Error return value of `f.Logger.Debug` is not checked (errcheck) | |
f.Logger.Debug("falling back to unauthenticated GCS access") | |
^ | |
internal/resource/url.go:450:17: Error return value of `f.Logger.Debug` is not checked (errcheck) | |
f.Logger.Debug("file matches expected sum of: %s", hex.EncodeToString(opts.ExpectedSum)) | |
^ | |
internal/resource/url.go:515:17: Error return value of `f.Logger.Debug` is not checked (errcheck) | |
f.Logger.Debug("file matches expected sum of: %s", hex.EncodeToString(opts.ExpectedSum)) | |
^ | |
internal/providers/vmware/vmware_amd64.go:62:19: Error return value of `f.Logger.Warning` is not checked (errcheck) | |
f.Logger.Warning("failed to fetch ovfenv: %v. Continuing...", err) | |
^ | |
internal/providers/vmware/vmware_amd64.go:67:20: Error return value of `f.Logger.Warning` is not checked (errcheck) | |
f.Logger.Warning("failed to parse OVF environment: %v. Continuing...", err) | |
^ | |
internal/providers/cmdline/cmdline.go:60:13: Error return value of `logger.Err` is not checked (errcheck) | |
logger.Err("couldn't read cmdline: %v", err) | |
^ | |
internal/providers/cmdline/cmdline.go:73:13: Error return value of `logger.Err` is not checked (errcheck) | |
logger.Err("failed to parse url: %v", err) | |
^ | |
internal/sgdisk/sgdisk.go:80:16: Error return value of `op.logger.Info` is not checked (errcheck) | |
op.logger.Info("running sgdisk with options: %v", opts) | |
^ | |
internal/sgdisk/sgdisk.go:118:16: Error return value of `op.logger.Info` is not checked (errcheck) | |
op.logger.Info("running sgdisk with options: %v", opts) | |
^ | |
internal/providers/packet/packet.go:72:15: Error return value of `f.Logger.Info` is not checked (errcheck) | |
f.Logger.Info("POST message to Packet Timeline") | |
^ | |
internal/providers/packet/packet.go:110:2: ineffectual assignment to `m` (ineffassign) | |
m := mStruct{} | |
^ | |
internal/providers/cloudstack/cloudstack.go:208:20: Error return value of `logger.LogOp` is not checked (errcheck) | |
defer logger.LogOp( | |
^ | |
internal/exec/stages/disks/disks.go:147:16: Error return value of `s.Logger.Info` is not checked (errcheck) | |
s.Logger.Info("created device alias for %q: %q -> %q", dev, util.DeviceAlias(dev), target) | |
^ | |
internal/exec/stages/disks/filesystems.go:108:22: Error return value of `s.Logger.Warning` is not checked (errcheck) | |
s.Logger.Warning("%v", err) | |
^ | |
internal/exec/stages/disks/filesystems.go:119:15: Error return value of `s.Logger.Info` is not checked (errcheck) | |
s.Logger.Info("found %s filesystem at %q with uuid %q and label %q", info.Type, fs.Device, info.UUID, info.Label) | |
^ | |
internal/exec/stages/disks/filesystems.go:127:17: Error return value of `s.Logger.Info` is not checked (errcheck) | |
s.Logger.Info("filesystem at %q is already correctly formatted. Skipping mkfs...", fs.Device) | |
^ | |
internal/exec/stages/disks/filesystems.go:130:16: Error return value of `s.Logger.Err` is not checked (errcheck) | |
s.Logger.Err("filesystem at %q is not of the correct type, label, or UUID (found %s, %q, %s) and a filesystem wipe was not requested", fs.Device, info.Type, info.Label, info.UUID) | |
^ | |
internal/exec/stages/disks/luks.go:113:14: Error return value of `os.MkdirAll` is not checked (errcheck) | |
os.MkdirAll(distro.LuksInitramfsKeyFilePath(), 0700) | |
^ | |
internal/exec/stages/disks/luks.go:179:24: Error return value of `s.Logger.Warning` is not checked (errcheck) | |
s.Logger.Warning("%v", err) | |
^ | |
internal/exec/stages/disks/luks.go:198:17: Error return value of `s.Logger.Err` is not checked (errcheck) | |
s.Logger.Err("volume at %q is not of the correct type, label, or UUID (found %s, %q, %s) and a volume wipe was not requested", *luks.Device, info.Type, info.Label, info.UUID) | |
^ | |
internal/exec/stages/disks/partitions.go:325:12: Error return value of `op.Commit` is not checked (errcheck) | |
op.Commit() | |
^ | |
tests/filesystem.go:227:17: Error return value of `destroyDevice` is not checked (errcheck) | |
destroyDevice(loopdev) | |
^ | |
tests/filesystem.go:473:11: Error return value of `os.Chown` is not checked (errcheck) | |
os.Chown(filepath.Join(basedir, file.Directory, file.Name), file.User, file.Group) | |
^ | |
internal/log/log.go:117:10: Error return value of `l.Debug` is not checked (errcheck) | |
l.Debug("popped from empty stack") | |
^ | |
internal/log/log.go:143:10: Error return value of `l.Debug` is not checked (errcheck) | |
l.Debug("executing: %s", cmdLine) | |
^ | |
internal/log/log.go:178:8: Error return value of `l.Info` is not checked (errcheck) | |
l.Info(fmt.Sprintf("[started] %s", format), a...) | |
^ | |
internal/exec/stages/files/files_test.go:32:23: func `pathWrapper.create` is unused (unused) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment