mirror of
https://github.com/snapp-incubator/pakhshi.git
synced 2025-09-26 20:21:13 +08:00
fix: Correct Lint Issue
This commit is contained in:
@@ -8,11 +8,16 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
TopicFlag = "topic"
|
||||
QoSFlag = "qos"
|
||||
// TopicFlag used with cobra to read the topic flag from user.
|
||||
TopicFlag = "topic"
|
||||
// QoSFlag used with cobra to read the qos flag from user.
|
||||
QoSFlag = "qos"
|
||||
// RetainedFlag used with cobra to read the retained flag from user.
|
||||
RetainedFlag = "retained"
|
||||
PayloadFlag = "payload"
|
||||
// PayloadFlag used with cobra to read the payload flag from user.
|
||||
PayloadFlag = "payload"
|
||||
|
||||
// Timeout for disconnecting from brokers.
|
||||
Timeout = 10
|
||||
)
|
||||
|
||||
|
@@ -12,9 +12,12 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
// TopicFlag used with cobra to read the topic flag from user.
|
||||
TopicFlag = "topic"
|
||||
QoSFlag = "qos"
|
||||
// QoSFlag used with cobra to read the qos flag from user.
|
||||
QoSFlag = "qos"
|
||||
|
||||
// Timeout for disconnecting from brokers.
|
||||
Timeout = 10
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user