Skip to content

Commit aaede94

Browse files
committed
fix linter issues
1 parent b10d11f commit aaede94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/pkg/errors/errors.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ type ServerCreateMissingFlagsError struct {
149149
}
150150

151151
func (e *ServerCreateMissingFlagsError) Error() string {
152-
return fmt.Sprintf(IAAS_SERVER_MISSING_IMAGE_OR_VOLUME_FLAGS)
152+
return IAAS_SERVER_MISSING_IMAGE_OR_VOLUME_FLAGS
153153
}
154154

155155
type ServerCreateError struct {
156156
Cmd *cobra.Command
157157
}
158158

159159
func (e *ServerCreateError) Error() string {
160-
return fmt.Sprintf(IAAS_SERVER_MISSING_VOLUME_SIZE)
160+
return IAAS_SERVER_MISSING_VOLUME_SIZE
161161
}
162162

163163
type ProjectIdError struct{}

0 commit comments

Comments
 (0)